ugitch (Ugljesa)

Member since
ugitch

Recent Docs Activity

View all activity
Page Date Comment

Array.prototype.splice()


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.

Array.prototype.reduce()


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.