javaScript内置 3.Number 4.Boolean

属性:
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() 返回布我对象的原始值

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。