Overriding "toString()" function of JavaScript Objects

added by JavaScript Kicks
10/14/2019 9:27:47 AM

239 Views

Understanding and Overriding the "toString()" method of Objects... The "toString()" method represents the string representation of Object... Every Object has a "toString()" method which is called automatically when the Object has to be represented as some text value or in the case when the string is expected out of i t.


0 comments