Closed gstark closed 5 years ago
findTheNeedle
should use the find
method
const findTheNeedle = strings => {
let found = strings.filter(string => string.includes('needle'))
return found[0]
}
Your homework was marked: Exceeds Expectations
“Woah” — via Jason L Perry
JavaScript Iteration
Objectives
After completing this assignment, you should be able to:
Instructions
git clone js-iteration
cd js-iteration
yarn install
(or justyarn
for short)yarn test
src/functions.test.js
and work on functions until tests pass.Explorer Mode
Additional Resources
Reference the documentation on DevDocs to find what kind of helpful functions might already be in JavaScript.