Hacker News new | ask | show | jobs
by wiktor-k 699 days ago
> Something like `foo.bar[function]()` is perfectly valid JS,

A minor thing but `function` is a keyword in JS so technically it's not a "perfectly valid JS".

1 comments

Oh boy, just think functionName and it fits.