The new Keyword — How JavaScript Builds Objects
What Does the new Keyword Do?
When you write new before a function call, you are telling JavaScript: "Don't just run this function use it as a blueprint to create a brand new object."
Without new, a c
blog-about-web-dev.hashnode.dev5 min read