Convert objects to string in JavaScript
Originally posted here!
To convert an object to string in JavaScript you need to overwrite the default toString() method in any object.
All the objects in JavaScript have a default toString() method defined.
But that doesn't do any good for us.
Let'...
melvingeorge-me.hashnode.dev3 min read