Challenge 5: Needle in a Haystack
var haystack = ['hay', 'rabbit', 'needle', 'hat'];
findNeedle(haystack);'Found the needle at position 2'Last updated
var haystack = ['hay', 'rabbit', 'needle', 'hat'];
findNeedle(haystack);'Found the needle at position 2'Last updated