Question 1 of 16
Quiz
Modern ECMAScript Update Pass — Quiz
Check your understanding of recent standardized ECMAScript additions and their ownership in the curriculum.
16 questions
Knowledge check
Modern ECMAScript Update Pass — Quiz
Check your understanding of recent standardized ECMAScript additions and their ownership in the curriculum.
- Skip a hard question and review it before your results.
- Questions and answer options can shuffle between attempts.
You can retake this quiz whenever you like.
0:00
Math.sumPrecise is a 2026 addition for summing Numbers while minimizing precision loss.
Question 2 of 16
What does Iterator.concat() produce?
Iterator.concat combines iterator sources into one iterator without requiring an intermediate array.
Question 3 of 16
What can Array.fromAsync() consume?
Array.fromAsync creates an Array from asynchronous input, including async iterables.
Question 4 of 16
What question does Error.isError() answer?
Error.isError is a 2026 static Error method for identifying Error objects.
Question 5 of 16
What does Uint8Array.prototype.toHex() return?
The 2026 Uint8Array additions provide standardized byte-to-hex conversion.
Question 6 of 16
What does Uint8Array.fromHex() create?
Uint8Array.fromHex converts pairs of hexadecimal digits into byte values.
Question 7 of 16
What is Uint8Array.prototype.toBase64() for?
The standardized method encodes byte data as Base64 without requiring a browser-specific binary-string trick.
Question 8 of 16
What does Uint8Array.fromBase64() return?
The method decodes Base64 text into a Uint8Array of bytes.
Question 9 of 16
What extra information can the modern JSON.parse reviver receive?
The 2026 reviver context can expose the original JSON source segment for the value.
Question 10 of 16
Why use JSON.rawJSON()?
JSON.rawJSON marks a primitive value for controlled raw inclusion in JSON.stringify output.
Question 11 of 16
What does Set.prototype.union() return?
Set union is part of the modern Set methods standardized in ECMAScript 2025.
Question 12 of 16
What problem does RegExp.escape() solve?
RegExp.escape produces pattern text that treats the supplied string as literal content.
Question 13 of 16
What do inline RegExp modifiers control?
Modern RegExp modifier syntax can enable or disable selected flags within a nested pattern region.
Question 14 of 16
What is Promise.try() designed to normalize?
Promise.try invokes a function and turns a returned value or thrown error into the corresponding Promise outcome.
Question 15 of 16
What does Float16Array add to the TypedArray family?
Float16Array stores IEEE 754 binary16 values; Math.f16round rounds a Number to that representation.
Question 16 of 16
What is the important property of toSorted()?
toSorted is part of the non-mutating array method family standardized in ECMAScript 2023.
Quiz results
0/0
Review
-
What is the purpose of Math.sumPrecise()?Hint used
-
What does Iterator.concat() produce?Hint used
-
What can Array.fromAsync() consume?Hint used
-
What question does Error.isError() answer?Hint used
-
What does Uint8Array.prototype.toHex() return?Hint used
-
What does Uint8Array.fromHex() create?Hint used
-
What is Uint8Array.prototype.toBase64() for?Hint used
-
What does Uint8Array.fromBase64() return?Hint used
-
What extra information can the modern JSON.parse reviver receive?Hint used
-
Why use JSON.rawJSON()?Hint used
-
What does Set.prototype.union() return?Hint used
-
What problem does RegExp.escape() solve?Hint used
-
What do inline RegExp modifiers control?Hint used
-
What is Promise.try() designed to normalize?Hint used
-
What does Float16Array add to the TypedArray family?Hint used
-
What is the important property of toSorted()?Hint used