Empty an array in JavaScript (with baseline) (version: 0)
Given an array of 100,000 random numbers, is it faster to empty the array by instantiating a new array, setting its length to zero, splicing it at index zero, or popping all values?
Comparing performance of: Instantiate new array vs Set length to zero vs Splice at index zero vs Pop all values vs JSON.parse baseline