HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by easrng | Hacker News Reader
Parent
Full thread
easrng
·
I can't repro, how are you getting it to call toString?
View on HN
iudqnolq
·
const foo = () => {}
foo.toString = () => console.warn("called")
console.log(foo)
easrng
·
Doesn't work on Firefox.
Reply on news.ycombinator.com