
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.
I like teach with animation!
Fredy,
Nice article - love the animation but I think it could do with two examples for the
every
andsome
methods to demonstrate complete and early exit.Usefull! Thanks for sharing
Nice way of explaining!
excellent content! love it!
How did you produce those animations ?
Such a great teaching tool
Cool
Thanks for creating this. Nice content.
Very engaging. I love the gifs
Very Helpful!
very usefull, Thanks
Pretty neat. The gif for .fill is not quite right.
Felicidades, increíble explicación!!!