Function.prototype.toString to discover function dependencies

Erik Arvidsson erik.arvidsson at
Wed Sep 15 20:04:01 PDT 2010

As far as I remember some Opera mobile versions don't return the code
in Function.prototype.toString.

A lot of JS frameworks today use the Function.prototype.toString to
find references to super/base but they do fallback on slower paths if
the toString method does not provide the code of the function.


More information about the es-discuss mailing list