What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-05 07:17:02
find in javascript
const simpleArray = [3, 5, 7, 15]; const objectArray = [{ name: 'John' }, { name: 'Emma' }] console.log( simpleArray.find(e => e === 7) ) // expected output 7 console.log( simpleArray.find(e => e === 10) ) // expected output undefined console.log... Add solution
Best helpers
Ranking is empty