美文网首页
javaScript内置 3.Number 4.Boolea

javaScript内置 3.Number 4.Boolea

作者: 咘噜咘噜咘 | 来源:发表于2018-01-12 16:13 被阅读4次

属性:
MAX_VALUE The largest possible value a number in JavaScript can have 1.7976931348623157E+308
MIN_VALUE The smallest possible value a number in JavaScript can have 5E-324
NaN Equal to a value that is not a number.
NEGATIVE_INFINITY A value that is less than MIN_VALUE.
POSOTIVE_INFINITY A value that is greater than MAX_VALUE.
prototype A static property of the Number object
方法:
toString Returns a string representing the specified object
valueOf() 返回数教对象的本初值
4.Boolean
属性:
constructor 所树立对象的函数参考
prototype 可以为对象参加的属性和方式
法子:
toSource() 显示对象的流代码
toString() 将布我值转换为字符串,并且返回成果
valueOf() 返回布我对象的原始值

相关文章

网友评论

      本文标题:javaScript内置 3.Number 4.Boolea

      本文链接:https://www.haomeiwen.com/subject/cqmfoxtx.html