摘要: 1.深拷贝对象: const a={name:'aaa',age:11} const b=JSON.parse(JSON.stringify(a)) 2.获取数组极值: let list = [1, 2, 3, 4, 5] Math.max(...list) // 5 Math.min(...list) // 1 阅读全文
posted @ 2019-09-10 09:54 要什么自行车y 阅读(141) 评论(0) 推荐(0) 编辑