Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
easrng
· 3y ago · 0 comments
I can't repro, how are you getting it to call toString?
Comments
[–]
iudqnolq
3y ago
const foo = () => {}
foo.toString = () => console.warn("called")
console.log(foo)
[–]
easrng
OP
3y ago
Doesn't work on Firefox.