JavaScript Quiz: basics, variables and the DOM
The basics of JavaScript: the origin of the language, let, const and var, typeof, the == and === equality operators, arrays, number conversion, the DOM, events and JSON, to get started in the browser.
Question preview
- In what year did Brendan Eich create JavaScript at Netscape?
- Which keyword declares a block-scoped variable whose value can be changed?
- What does typeof return when applied to the string 'abc' in JavaScript?
… and 7 more questions to discover by playing.