ugitch (Ugljesa)

Member since

Recent Docs Activity

View all activity
Page Date Comment


Argument 'start' has no default value. If omitted (when splice() is called without arguments), array is not changed. If it had default value 0, calling splice() without arguments would delete all elements from array.


As explained above: If initialValue isn't provided, reduce() will execute the callback function starting at index 1, skipping the first index. If initialValue is provided, it will start at index 0. I checked it.