Array push 的另一种方法

var arr = [1, 2]; arr[arr.length] = 3; console.log(arr); // 速度比 push 快

原文地址:https://www.cnblogs.com/ax-null/p/6804449.html