Javascript Object toString Example | Object.toString(). The Object.prototype.toString() method returns a string representing the object.