Comment

Comment by towelguy

They are a compact way to write anonymous functions in Javascript, so instead of

    var square = function (a) { return a * a;}
You can write:

    var square = a => a * a;
parent towelguy 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton