let doesnt’t work in some browsers. Not in their interpeters/ web consoles either. Why?
(originally I thought there was an inconsistency b/t the browser interpeter and the jsFiddle, but it turns out not to be true, just bad tests on my part.)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is a non-standard keyword introduced in JS 1.7, not necessarily implemented in different browsers.
https://developer.mozilla.org/en/JavaScript/Reference/Statements/let