Empty an Array with JavaScript

Empty an Array with JavaScript is the common task which every developer performs. Most of the developers use the wrong approach of emptying the array in JS. Method 1: Empty an Existing Array in...