Size of array in memory

后端 未结 0 632
夕颜
夕颜 2020-12-05 18:25

If I create a JavaScript array with this code:

var tab =[];
tab[51056] = 12;

Is it optimized in memory? I mean, will it allocate 51056 cell i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题