definign blank array in javascrit code example
Example 1: javascript declare empty array
// Variable array for a wider scope:
var arrayName = [];
// Local scope variable array:
let arrayName = [];
Example 2: js delete all array items
A.length = 0