var arr = []; arr[\'k1\'] = 100; console.log(arr); //o/p - [k1: 100] arr.length; //o/p - 0 window.copy(arr); //copies: []
I want to convert