Closed DevilRoshan closed 4 years ago
出自小程序前端面试星球
// 以下代码输出 const obj = { '2': 3, '3': 4, 'length': 2, 'splice': Array.prototype.splice, 'push': Array.prototype.push } obj.push(1) obj.push(2) console.log(obj)
https://github.com/DevilRoshan/Question/blob/master/20200822-js-code-array.md