re: Understanding Javascript Array Series XII - Array Loops & Iteration Part IX VIEW POST


Is there any difference between the find and filter method?


Yes, the find method looks for the first element that first a particular criterion while the filter element gets all the element that fits a criteria and stores them in a new array.

code of conduct - report abuse