Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
cyco130
7mo ago
0 comments
Share
It requires parentheses `(3).myMethod()` but you can by monkey patching the Number prototype. Very bad idea, but you absolutely can.
0 comments
default
newest
oldest
senfiaj
7mo ago
You can just add extra dot: `3..myMethod()`.
j
/
k
navigate · click thread line to collapse