JavaScript高阶函数是指能够接受函数作为参数或者能够返回函数结果的函数。常见的高阶函数有Array.prototype.map(),Array.prototype.filter(),Array.prototype.reduce(),Function.prototype.bind(),Function.prototype.call(),Function.prototype.apply()等。
JavaScript高阶函数是指能够接受函数作为参数或者能够返回函数结果的函数。常见的高阶函数有Array.prototype.map(),Array.prototype.filter(),Array.prototype.reduce(),Function.prototype.bind(),Function.prototype.call(),Function.prototype.apply()等。