
不一致性

加new的区别

加new的区别

new代码示范

函数声明方式

原型链理解

数组的本质

两种for循环

两种for循环

arguments

forEach

嵌套函数

嵌套函数

接受并执行,同时传参给另一个函数

forEach的原理

forEach的两种使用方法

forEach

forEach

.sort()

.join()

.concat()

.concat()

forEach 和 map 的区别

forEach和map的区别

map 和 箭头函数

map

map

forEach和map

.filter()

.filter()

map 和 filter 链式使用

.reduce()

map可以用reduce表示

filter 可以用 reduce 表示