0
点赞
收藏
分享

微信扫一扫

解决Array.prototype扩展后出现bug

for (let i in this.positions) {
            //为了防止别人用了Array.prototype扩展后出现bug 
            if (!isNaN(Number(i))) {}
            }

在线代码

举报

相关推荐

0 条评论