Module 16 · Map, Set, WeakMap, Iterators, Generators and Regular Expressions
Cheat Sheet: The Regex Syntax, and Every Map, Set, WeakMap and Generator Method on One Page
ProReading
Keep this page open while you solve this module's problems. The first four tables are the regular expression language: the pieces, the flags and the methods that use them. The next three list every method of the collections and generators. The last two are the choice of tool and the bugs that code review keeps finding.
Checking what this lesson needs for you…
What is inside Cheat Sheet: The Regex Syntax, and Every Map, Set, WeakMap and Generator Method on One Page
- The pieces of a pattern
- The flags
- The regex methods
- Safe patterns
- Map, Set and WeakMap
- Iterators and generators
- Which tool
- The six bugs
Module test
Ten questions on this module. Pass at 70%, and you can take it as many times as you like.
Take the module test