Skip to content

Commit 2958029

Browse files
new commit
1 parent e48a8db commit 2958029

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

46_ANeddleInTheHaystack.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
function findNeedle(haystack) {
2+
// your code here
3+
return "found the needle at position " + haystack.indexOf("needle");
4+
}

0 commit comments

Comments
 (0)