Frontendnightmare

Results comments of Frontendnightmare

const arr = new Array(5); const rand = Math.random() * 31 + 2;//包括2和32 const randInsertarr = (n) => { if (n == -1) { return arr; } const rand =...

const removeSpace = (str) => {//去除所有空格 return str.split(" ").join(''); }

@AnsonZnl > ## 变量声明 > ``` > console.log(a);// undefinde > var a= "hello world"; > console.log(a);// "hello world" > ``` > ## 函数声明 > ``` > f() > function f(){...