摘要: 1遍历所有属性var person={fname:"John",lname:"Doe",age:25}; for (x in person) { txt=txt + person[x]; }2.array 有 lenth 属性 var arr = new Array(); var len = arr.lenth;3 === 类型也相同4 访问属性的两种方法objectName.propertyName objectName["propertyName"]5 支持 try catch throw6 isNaN(x) 判断是否数字7 当你 阅读全文
posted @ 2013-07-12 20:54 Ghost_zhao 阅读(466) 评论(1) 推荐(1) 编辑