The new Keywordin JavaScript
If you've spent any time with JavaScript, you may have stumbled upon code that looks like this:
const dog = new Animal("Rex");
What's the new doing there? Why can't we just call the function normally
anilkambar01.hashnode.dev6 min read