Question What are the possible ways to create an Object in Javascript? YouTube Video Answer Simple JSON Object const shopCart = { items: 0, list: [], }; Using Object constructor const shopCart = new Object(); Using Function const ShopCartClass = function () { this.items = 0; this.list = []; }; const cart = new ShopCartClass(); Using Class class ShopCartClass { this.items = 0; this.list = []; }; const cart = new ShopCartClass(); Using Object.create(null) to inherit from the null object and remove all prototype methods const cart = Object.create(null); Using IIFE (Immediately Invoked Function Expression) const cart = new (function () { this.items = 0; this.list = []; })();