Does an object have only one method or can it have multiple methods?
You can add any number of methods to an object. However, it is recommended to add shared methods or other members to the prototype object of the object constructor to improve efficiency
You can add any number of methods to an object. However, it is recommended to add shared methods or other members to the prototype object of the object constructor to improve efficiency