Skip to content

Commit bd8fccf

Browse files
committed
added edgecase
1 parent 626d456 commit bd8fccf

File tree

1 file changed

+3
-0
lines changed
  • Methods Extended Studies/Array Methods Extended Study

1 file changed

+3
-0
lines changed

Methods Extended Studies/Array Methods Extended Study/startsWith.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,6 @@ function findFirstLetters(string, input) {
3131
console.log(firstLetters);
3232
}
3333

34+
35+
findFirstLetters(myString, 'This'); // true
36+
findFirstLetters(myString, 'is'); // false

0 commit comments

Comments
 (0)