block

搬瓦工VPS

Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode错误的解决办法

最近笔记本电脑坏了送修,临时找了一台台式电脑办公,结果之前写好的前端代码无法正常运行了,看了一下提示JS错误: Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outs 这个错误是因为当前电脑的浏览器版本不支持ES6...
赞 (0)阅读(3322)