The new Keyword: JavaScript’s Object Factory
In JavaScript, creating one or two objects by hand is easy. But what happens when you need to create hundreds of "Users", "Products" or "Game Characters"? Manually typing out { name: "...", age: "..."
ashaaf.hashnode.dev4 min read