The above discussed examples,explains how the constructor creates the object and assigns properties to it. We have to assign methods to the object for completing the definition of an object..
The ‘with’ keyword provides a sort of shortcut way for referencing an object's methods or properties.
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.