Comment

Comment by esperent

> "Arrow functions" are just sugar

This statement is incorrect. There are important differences between arrow functions and regular function.

> An arrow function expression is a syntactically compact alternative to a regular function expression, although without its own bindings to the this, arguments, super, or new.target keywords

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

parent esperent 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton