[英]'let' Keyword in Firefox 43.0.2 not working
我已經閱讀了'let'關鍵字現在在Firefox中工作的位置,並且不再需要在script標記中指定版本。 但是,盡管添加了嚴格模式,但仍然出現Firefox錯誤:
我曾嘗試使用腳本標記中的版本對嚴格作用域進行嚴格作用域限制,但似乎沒有任何效果。 關於什么可能導致Firefox中的'let'關鍵字持續出現錯誤的任何想法? 還是我可以消除的任何原因? 感謝名單!
根據ES6兼容性表 ,FF 43不支持let 。現在您仍然可以使用var作為臨時替代方法。
let
var
[英]Workaround for let keyword?
[英]let keyword and closures?
[英]Block scope with “let” keyword
[英]let keyword in the for loop
[英]Issue with let keyword
[英]Using let and yield in Firefox
[英]pass data into component with 'let' keyword
[英]Is a unicode escape valid in the let keyword
[英]Browserify: SyntaxError: The keyword 'let' is reserved
[英]behavior of let and const with javascript 'this' keyword
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.