Hacker News new | ask | show | jobs
by vips7L 9 days ago
It’s ambiguous to the reader, but the JLS strictly defines which constructor would be called here. It’s the int a, int b constructor.
1 comments

Just like ECMA-262 strictly defines what the non-strict equality operator does. It's still a footgun all the same.