Hacker News new | ask | show | jobs
by divs1210 1189 days ago
I didn't know Java had a `function` keyword.

That is TS, not Java. Not sure why the gp is calling it Java.

1 comments

They’re not . They’re saying it allows stuff like what’s it’s Java and the decorators in the TS code is exactly what it’s like in Java.