What is an object method?

Unlike Array prototype methods like sort() and reverse() that are used on the array instance, Object methods are used directly on the Object constructor, and use the object instance as a parameter . This is known as a static method.

Sizin İçin Seçtik  Why objects are created?

Leave a Reply

Your email address will not be published. Required fields are marked *