array-last
array-last copied to clipboard
fix: n is negative
When n is negative,
new Array (n)
throws an error. RangeError: Invalid array length