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