Number.prototype.valueOf()
Number 值的 valueOf() 方法返回该数字的值。
¥The valueOf() method of Number values returns the value of this number.
Try it
语法
参数
返回值
描述
示例
使用 valueOf
规范
| Specification |
|---|
| ECMAScript Language Specification # sec-number.prototype.valueof |
浏览器兼容性
BCD tables only load in the browser
也可以看看
¥See also