摘要: 1.Set <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>集合< 阅读全文
posted @ 2021-03-17 16:13 全情海洋 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 1.迭代器 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>迭代器 阅读全文
posted @ 2021-03-17 16:06 全情海洋 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 1.async <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-sc 阅读全文
posted @ 2021-03-17 15:48 全情海洋 阅读(86) 评论(0) 推荐(0) 编辑
摘要: 1.同步回调和异步回调 <script> // 同步回调 let arr = [1,2,3,4,5]; //对数组的每一个元素 * 10 返回新数组 forEach filter some every let newArr = arr.map(item => { // console.log(0); 阅读全文
posted @ 2021-03-17 15:44 全情海洋 阅读(116) 评论(0) 推荐(0) 编辑