JavaScript & Web Dev Medium • 2 Questions

Modern JavaScript (ES6+) & Async Quiz

Evaluate your knowledge of Promises, closures, arrow functions, and the event loop.

Question 1 of 2 1 point
What will be printed to the console?
console.log(typeof NaN);
console.log(NaN === NaN);
Question 2 of 2 1 point
Which statement correctly describes how `async / await` works in JavaScript?