JavaScript的内置对象
都有的属性 : 1、constructor ----->构造函数 2、prototype ------>为对象添加新的属性和方法的关键字
都有的方法 : 1、toString()-----------> 返回对象的字符串表示 2、valueOf()-------->返回指定对象的原始值
常见的内置对象
1.String对象
2.Array对象
3.Number对象
4.Math对象
5.Date对象
6.Object对象
7.Function对象
remark:Math.round(x)--->对X 四舍五入 Math.ceil()---->将小数部分一律向整数进位 Math.floor()---->一律舍去