what is toString () used in javascript method code example Example: javascript tostring obj.toString()