[–] TL_DR 10y ago ↗ All 3 are array methods taking a function to call with an element (and its index and the array itself):forEach element without exception(pun!)for every element until a false is returned. Alternatively, the method itself returns true, oruntil some returns true. Alternatively, the method itself returns false.
1 comment
[ 2.8 ms ] story [ 12.3 ms ] threadforEach element without exception(pun!)
for every element until a false is returned. Alternatively, the method itself returns true, or
until some returns true. Alternatively, the method itself returns false.