Optimization tricks
Compilation performance
JavaScript regular expression
Backtracking
- Everything You Need to Know About Regular Expressions in JavaScript | Meriam Kharbat | Mediumopen in new window
- Catastrophic backtracking | The Modern JavaScript Tutorialopen in new window
- Regular Expression behavior | Microsoft Docsopen in new window
Method choice
- Methods of RegExp and String | The Modern JavaScript Tutorialopen in new window
- Regular expressions | MDNopen in new window
- RegExp.prototype.exec| MDNopen in new window
Miscellaneous
- Dynamic vs Inline RegExp performance in JavaScript | Stack Overflowopen in new window
- JS RegExp, Fast and Slow | Jakob Gruber | Mediumopen in new window
- Regular Expression Optimizations | RexEggopen in new window
Object access and iteration
- Prototypal inheritance | The Modern JavaScript Tutorialopen in new window
- Inheritance and the prototype chain | MDNopen in new window
- Enumerability and ownership of properties | MDNopen in new window
- Why is Object.keys faster than hasOwnProperty? | Stack Overflowopen in new window
- Object.keys, values, entries | The Modern JavaScript Tutorialopen in new window
- Loops and iteration | MDNopen in new window