𝗝𝗮𝘃𝗮𝗦𝗰𝗿𝗶𝗽𝘁 𝗢𝗯𝗷𝗲𝗰𝘁𝘀 𝗘𝘅𝗽𝗹𝗮𝗶𝗻𝗲𝗱

Objects store data in key-value pairs. You need to know how to create and manage them.

How to create objects:

  1. Object Literals This is the fastest way. let user = { name: "Ezhil", age: 23 };

  2. Object Constructor You use the new keyword here. let user = new Object(); user.name = "Ezhil"; user.age = 23;

Basic operations:

Master these basics to build better applications.

Source: https://www.geeksforgeeks.org/javascript/objects-in-javascript/ Full post: https://dev.to/ezhil_abinayak_e38eec8fb/object-in-js-5048