Hacker News new | ask | show | jobs
by cyco130 315 days ago
It requires parentheses `(3).myMethod()` but you can by monkey patching the Number prototype. Very bad idea, but you absolutely can.
1 comments

You can just add extra dot: `3..myMethod()`.