In the above code, student is an Object and name and age are Object properties and getName() is the method in the Object.
Call Object function
The above code will alert - Jack.
How to create a New Instance from a Constructor
Object contain another Object