摘要: arr1 = [1,3,5,7,9] arr2 = [2,4,6,8,10] console.log(...arr1) // 展开数组 let arr3 = [...arr1, ...arr2] // 连接数组 传参 function sum(...number){ return numbers.r 阅读全文
posted @ 2021-01-15 19:37 ShanCe-刘勇 阅读(66) 评论(0) 推荐(0) 编辑
摘要: class Person{ constructor(name, age){ // 构造器 this.name = name; this.age = age; } // 一般方法 speak(){ console.log('我叫${this.name}, 年龄${this.age}') } } cla 阅读全文
posted @ 2021-01-15 17:39 ShanCe-刘勇 阅读(52) 评论(0) 推荐(0) 编辑
摘要: http://www.cnplugins.com/down/down.php?fn=1504/www.cnplugins.com_fmkadmapgofadopljbjfkapdkoienihi_0_13_0_.crx&aid=41118&typeid=16 # 这个链接版本太老,建议用下面的或者可 阅读全文
posted @ 2021-01-15 16:34 ShanCe-刘勇 阅读(298) 评论(0) 推荐(0) 编辑