impatient-js
impatient-js copied to clipboard
Chapter: Variables and assignment
Axel,
re: impatient-js-quiz/variables-assignment.html

Regards!
@tedonmain The Node.js REPL interprets the open brace as the beginning of an object literal. Try it in a browser console or a .js file!
At the end of section 10.4 "can’t be access outside it" should be "can’t be accessed outside it".
@debradley Thanks! Fixed in next release.
Axel, re: impatient-js-quiz/variables-assignment.html
Regards!
@tedonmain, node.js v10.15.3 on windows 10, no errors.
window object not allowing to delete the properties. Can you try to delete the property in your browser?
delete window.myGlobalVariable;

Firefox Developer Edition not allowing to delete the Variables in window or self Object, But Chrom allowing.
Fourth bullet point of 10.7 ("They can only be created while at the top level of a script, via const, `let, and class declarations") is missing a backtick after "let".