Loading…
Loading…
Twenty-four questions on what's new in JavaScript: change-array-by-copy methods, groupBy, Set methods, iterator helpers, Promise.withResolvers and Promise.try, RegExp.escape and the v flag, using declarations, Error.isError, Base64 typed arrays, Temporal, getOrInsert and Iterator.zip.
JavaScript gains new features every year, and interviewers increasingly ask about them. This quiz covers the editions from ES2022 to ES2027, matching the TC39 finished-proposals list, with the same examples style as the course articles.
Most answers were confirmed by running them on Node.js 25. A few features are so new that Node 25 doesn't ship them yet (Math.sumPrecise, Map.prototype.getOrInsert, Iterator.zip and Temporal, which Node 26 enables). Those answers follow the specification and were checked against MDN, and Temporal's with its reference polyfill. Aim for at least 18 out of 24.
Quiz path: step 20 of 20. Take the quizzes in this order, after reading the articles they cover.
Previous quiz: JavaScript's Delicate Details (Spec-Level Edge Cases)
24 questions · pass at 68%
Check your understanding; you see the answers and explanations after submitting.
Discussion
Sign in to ask a question or share what you learned.