Lambdas (λ) 在 JavaScript 作为arrow functions(箭头函数)被广为所知: // this is your regular named function in JavaScript function namedFunction (a, b) { return a + b; } // this is a lambda, i.e. an arrow function const lambda = (a, b) => a + b; 复制代码 术语lambda是一个正式的数学逻辑...