(╯°□°)╯ .find() find() is used to find an element that returns true depending on the condition we have. const myArr = [1, 4, 6, 9] const useFind = myArr.find(el => el === 4) // 4 In the example above we use find() to return the element thats === t...
Markdown supported · ⌘↵ to post
Lize du Plessis
Learning how to code
Very helpful and explained well (step-by step). Thank you!!