map
Creates a new array populated with the results of a provided function on every element.
[1, 2, 3].map( n => n * 2 ); // [2, 4,...
For further actions, you may consider blocking this person and/or reporting abuse
The code for every has the wrong array I think. Otherwise, a great way of explaining things!
I don't really get the point here pls!
I was thinking this is another version of the example for the every method and atleast the result should be false since not every item is equal to 2.
Got confused with the result of this.answer though!
It had the wrong code initially but the author was diligent enough to change it afterwards.
Alright super!!
Thanks for pointing out.
Fredy,
Nice article - love the animation but I think it could do with two examples for the
everyandsomemethods to demonstrate complete and early exit.I like teach with animation!
Thanks for creating this. Nice content.
excellent content! love it!
Very Helpful!
Usefull! Thanks for sharing
Cool
Nice way of explaining!
Very engaging. I love the gifs
How did you produce those animations ?
Such a great teaching tool
very usefull, Thanks
Felicidades, increíble explicación!!!
Pretty neat. The gif for .fill is not quite right.