Medium 10 questionsAI-generated
★★★★★★★★★★Not rated yet

JavaScript Quiz: functions, promises and modules

Arrow functions, closures, scope and hoisting, this, null and undefined, filter, promises, async and await, modules and destructuring: the notions that go beyond JavaScript basics.

Start the quiz Created by lecouze13

Question preview

  1. Which ECMAScript version introduced let, const, arrow functions and classes?
  2. What does console.log(x) print when it is placed before the line var x = 5 in the same script?
  3. Inside an arrow function, what does this refer to?

… and 7 more questions to discover by playing.