Use capture groups in regular expressions to preserve the separators in the result of String.prototype.split().
Articles – Page 42
Keep writing, writing, writing ...
The multiline mode in JavaScript expressions changes the behavior of ^ and $ to match patterns across multiple lines.
Numeric Separators in JavaScript are cross-browser-supported.
Override and enforce dependency versions using npm "overrides".
Adopt VS Code actions and "JavaScript Booster" today to speed up your coding.