Ways to create objects

Hi, in this post I will show you the ways to create objects in Javascript. Exist 2 ways to create object one called the literal notation and the other is the object constructor notation. Literal notation a) We can create the object first, then the properties and methods are added to it afterwards. Note: look … Continue reading Ways to create objects