Yields v for each item within it.
v
it
fill([1, 2, 3], 0);// Yields: [0, 0, 0] Copy
fill([1, 2, 3], 0);// Yields: [0, 0, 0]
This is like a map where we return a fixed value, ignoring the input.
map
Yields
vfor each item withinit.This is like a
mapwhere we return a fixed value, ignoring the input.Param: it
Param: v