array-last icon indicating copy to clipboard operation
array-last copied to clipboard

fix: n is negative

Open AfterThreeYears opened this issue 7 years ago • 0 comments

When n is negative,

new Array (n) 

throws an error. RangeError: Invalid array length

AfterThreeYears avatar Sep 01 '18 11:09 AfterThreeYears