Why is let=0 valid but not var=0? – stackoverflow.com

Why doesn't let=0 show any syntax errors but var=0 does? (I test it on Safari) However I tried console.log(let) but it has errors and seems 'let' is not a already ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Why is let=0 valid but not var=0? – stackoverflow.com"