上一页 1 ··· 3 4 5 6 7
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-04-26 02:16 lylooooo 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 常用方法 1、xx.concat() 连接两个或更多的数组,并返回结果。 var arr2 = arr.concat("xx",arr1); 2、xx.join() 指定要使用的分隔符 3、xx.pop() 删除并返回数组的最后一个元素 4、xx.push() 向数组的末尾添加一个或更多元素,并返回 阅读全文
posted @ 2017-04-26 02:06 lylooooo 阅读(97) 评论(0) 推荐(0) 编辑
摘要: break: 跳出当前循环 continue: 终止本次循环,继续下次循环. 分析: a= 1, b=1, a*b a=1 , b=2, a*b a=2 , b=2 , a*b a=1 , b=3, a*b a=2 , b=3 , a*b a=3 , b=3 , a*b 规律:a控制列 ,每一行a都 阅读全文
posted @ 2017-04-26 00:55 lylooooo 阅读(272) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-04-25 01:53 lylooooo 阅读(6) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-04-13 16:09 lylooooo 阅读(4) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-04-13 16:05 lylooooo 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 1、数据类型分类: 5基本数据类型: number(数字)、string(字符串)、boolean(布尔型)、undefined(未定义)和null(空)。 引用数据类型:对象、数组、函数。 2、运算符: 三目运算符: 条件运算符:(expr1) ? (expr2) : (expr3), 条件?表达 阅读全文
posted @ 2017-04-13 15:15 lylooooo 阅读(80) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7