摘要:
解决办法 安装 Windows 7系统的补丁即可。 补丁下载地址: https://www.catalog.update.microsoft.com/search.aspx?q=kb4474419 具体操作注意 如何将补丁传送到Windows 7,使用 https://cl1p.cn/ 将补丁的下载 阅读全文
摘要:
const capitalize = str => str.charAt(0).toUpperCase() + str.slice(1) let result = capitalize("panda") // Panda console.log(result); 阅读全文
摘要:
const average = (...args) => args.reduce((a, b) => a + b) / args.length; let result = average(6, 5, 6, 7, 6); // 6 console.log(result); 阅读全文
摘要:
确定数字是奇数还是偶数 const isEven = num => num % 2 0; let result = isEven(996); console.log(result); 阅读全文
摘要:
//方式1: const merge = (a, b) => a.concat(b); //方式2: const merge = (a, b) => [...a,...b]; //测试 let result = merge(['panda','666'],['panda','666']); 阅读全文
摘要:
const removeDuplicates = (arr) => [...new Set(arr)]; console.log(removeDuplicates(['p', 'p', 'a', 'n', 'd', 'd', 'a', 6, 6, 6])); 阅读全文