Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.4k views
in Technique[技术] by (71.8m points)

es6 let关键词在ios9.3.5的微信浏览器中不被支持?

for (let i = 0; i < 10; i++) {
    console.log(i);
}

这样的情况,ios10.2的微信6.5.3版本下正常执行,在ios9.3.5的微信浏览器下报错了,我真是想不通啊,微信版本也是最高版本,6.5.3


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

ios9不支持let

ios10对es6的支持超级好

具体请看网址 http://kangax.github.io/compa...


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...