Video : Four ways of creating an object in JavaScript

There are four ways an object can be created in JavaScript object as a literal Using the new operator, also knows as constructor invocation pattern Using the Object.create() method Using the class starting ES6 Watch full video here : Source Code : For more such learning videos, subscribe to