摘要: 数组的push方法相信大家都非常熟悉了,但是push方法的实现原理,又是怎么样的呢,首先来看一道题: let obj = { 2: 'a', 3: 'b', length: 2, push: Array.prototype.push } obj.push('c', 'd'); console.log 阅读全文
posted @ 2020-08-12 00:06 helloworld!!!? 阅读(2905) 评论(0) 推荐(0)