Mar 25, 2026Mar 25, 2026 · 6 min read · 23 viewsThe new Keyword in JavaScriptAt some point while learning JavaScript, you've probably written something like this without fully questioning it : let today = new Date(); let pattern = new RegExp("hello"); The new keyword just... 6 min read · 23 views