JavaScript Unicode, Bytes, and Advanced Regular Expressions Quiz
Interactive Quiz ⋅ 11 Questions
By Stephen Gruppetta
In this quiz, you’ll test your understanding of JavaScript Unicode, Bytes, and Advanced Regular Expressions.
By working through this quiz, you’ll revisit what a JavaScript string counts, how code
points and graphemes differ, why titles that look the same need normalizing, how to
measure, decode and hold UTF-8 bytes, when a Uint8Array shares its bytes, and how the
u and v flags, lookbehinds, lastIndex and RegExp.escape() shape a regular
expression.
Most questions show a short snippet, often next to the Python you’d write, and ask what it does in JavaScript or how to complete the port. Good luck!
The quiz contains 11 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!
Related Resources
Course
JavaScript Unicode, Bytes, and Advanced Regular Expressions
Port a payments team's Python branch-name helper to JavaScript, and learn code points, normalization, UTF-8 bytes with Uint8Array, and Unicode-aware regular expressions.