摘要: 1 。string 对象可以处理已有的字符窜对象// 字符串可以用单引号或双引号// 2。字符串中查找字符串:indexof() var str1 ="hello world"; //字符串所在位置 不存在返回... 阅读全文
posted @ 2015-05-19 22:13 谢小锋 阅读(105) 评论(0) 推荐(0) 编辑
摘要: // 1// people=new Object();// people.name="zefeng";// people.age="24";// people.old="young... 阅读全文
posted @ 2015-05-19 22:12 谢小锋 阅读(106) 评论(0) 推荐(0) 编辑