摘要: String 对象用于处理文本(字符串)。 属性描述 constructor 对创建该对象的函数的引用 length 字符串的长度 prototype 允许您向对象添加属性和方法 String的方法: 1、anchor():创建HTML锚。 var txt = 'Hello'; txt.anchor 阅读全文
posted @ 2015-10-10 14:32 shirliey 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Number 对象是原始数值的包装对象。 属性描述 constructor 返回对创建此对象的 Number 函数的引用。 MAX_VALUE 可表示的最大的数。 MIN_VALUE 可表示的最小的数。 NaN 非数字值。 NEGATIVE_INFINITY 负无穷大,溢出时返回该值。 POSITI 阅读全文
posted @ 2015-10-10 11:28 shirliey 阅读(133) 评论(0) 推荐(0) 编辑