array()
Creates a new array with the given length and fills the array with the given value.
This function is valid in v2.13.0 to v2.24.3. This function has been downloaded 62 times.undefined
opt_callFiller
is true
-ish then this function will be called with the index to be filled and the return value will be used as the value added at that index.false
true
-ish and opt_filler
is a function then opt_filler
will be called as a function to generate the values at for each item in the new array.