摘要: <!DOCTYPE html><html><head> <meta charset="utf-8"> <title></title></head><body><div> <p>搜索: <input id="txtarea" type="text" size="50" /> <input id="ar 阅读全文
posted @ 2018-05-10 16:30 仔行天下 阅读(553) 评论(0) 推荐(0) 编辑
摘要: <script> var arr = [2,3,6,7,9]; //javascript中的forEach 和 map方法 arr.forEach(function(value,index){//(值,索引) console.log(value); }); arr.map(function(valu 阅读全文
posted @ 2018-05-10 11:24 仔行天下 阅读(259) 评论(0) 推荐(0) 编辑