What is Object?
An object is a collection of properties, and a property is an association between a name (or key) and a value. A property’s value can be a function, in which case the property is known as a method.
Let’s take an example, Suppose we have a Coffee cup. It has properties like the blue in color, hot in nature, etc. So let’s convert this real life object into the computer language.
Open the Cloud9 Online Editor . (It’s a online code editor available online.).
Now we write the properties for it.
An Object can have method associated, Let’s have function/method that can be used to convert the temperature in C to F and attached to our coffeeObject.