RangeError: Invalid array length
This can happen if the value is NaN. Solution : Check for isNaN(myvar) before trying to create an array form it with [...Array(myvar)]
Just another Yipp.ca Blogs site
This can happen if the value is NaN. Solution : Check for isNaN(myvar) before trying to create an array form it with [...Array(myvar)]
Recent Comments