3 ms·
I'm a little confused what you mean by JS lacking a short syntax for lambdas. let multiply = (a, b) => a * b; Is this not a lambda?
by willio58 4y ago
I'm a little confused what you mean by JS lacking a short syntax for lambdas.
let multiply = (a, b) => a * b;
Is this not a lambda?
- kaba0 4y agoParent means that basically every language has lambdas, so it could hardly be an odd thing.
- willio58 3y agoOhh! Thanks for clarifying
- earthling8118 3y agoYou've missed their point entirely. It was never stated that JS was lacking this, rather than most languages DON'T lack it.