Menu
Looking for ways to universally hook the toString of a function in JavaScript, so
or Function.toString.bind(fn)()
always return the same string. Does hooking Object.toString.bind(fn)()
affect all other toString’s, given that both Function.prototype.toString
and Function
are functions? Object