News for hackers. Stuff that matters.
Re:Deep JavaScript: Theory and Techniques by chrstphrknwtn on Thursday June 18, 2020 @01:52AM (#23560169)
I'm fairly sure Lambda functions have always been part of javascript?
Re:Deep JavaScript: Theory and Techniques by croddin on Thursday June 18, 2020 @02:02AM (#23560208)
Anonymous functions indeed have. I think he means the arrow function syntax.
Re:Deep JavaScript: Theory and Techniques by mayank on Thursday June 18, 2020 @11:35AM (#23564043)
Yes, my bad. I meant arrow functions.
Re:Deep JavaScript: Theory and Techniques by ulucs on Thursday June 18, 2020 @02:00AM (#23560206)
function () {}'s have been there forever, but () => {}'s have different semantics and are somewhat new