Y
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
senfiaj
309 days ago
You can just add extra dot: `3..myMethod()`.
link