Converts value to a string using Object.prototype.toString.
value
Object.prototype.toString
1.0.0
objectToString({});// => "[object Object]" Copy
objectToString({});// => "[object Object]"
objectToString(2);// => "[object Number]" Copy
objectToString(2);// => "[object Number]"
Converts
value
to a string usingObject.prototype.toString
.