Skip to content

Commit f3e1f0d

Browse files
committed
completes 13th (startsWith) test
1 parent 6021762 commit f3e1f0d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/booleans.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,10 @@ function isSquare(a) {
8383
}
8484

8585
function startsWith(char, string) {
86-
// your code here
86+
if (string.startsWith(char)) {
87+
return true;
88+
}
89+
return false;
8790
}
8891

8992
function containsVowels(string) {

0 commit comments

Comments
 (0)