The new Keyword in JavaScript
At 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...
Mar 25, 20266 min read14
