Array Methods Visualizer
Pick a method, edit the callback if you like, and watch it run one item at a time.
The array
Method
Callback
Starting value (reduce only)
▶ Run
Skip animation
#
item
callback returns
what happens
Result