Example:
let :test = "Hello";
console.log(test);
This code doesn't throw any error. Why?
Because you actually have a label https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/label
If you were in strict mode, it would have thrown an error.
let: // <-- label
test = "hello
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With