Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on TypeScript Seals My Penchant for JavaScript. Parent comment
Defining a lamba `foo = ->(x) { x * x }`
Calling it `foo[10]` or `foo.call(10)`
I don't see anything hacky about that at all.
There are no comments on this comment yet.
Defining a lamba `foo = ->(x) { x * x }`
Calling it `foo[10]` or `foo.call(10)`
I don't see anything hacky about that at all.