Learn how an Array
makes JavaScript if
conditions more readable.
Topic: JavaScript โ Page 6
.includes The second parameter of Array.prototype.recude() (the initial value) is optional.
Use
reportError
to report errors to global error event handlers.Use capture groups in regular expressions to preserve the separators in the result of String.prototype.split().
The multiline mode in JavaScript expressions changes the behavior of ^ and $ to match patterns across multiple lines.