toSource() and uneval() have been removed


Categories: JavaScript

Releases: Firefox 74, Firefox 78 ESR


Firefox 74 has removed the non-standard Object.prototype.toSource method, which was inherited by every object derived from Object including Array, Date and Function, as well as the uneval global function. Unlike the standard toString method and the eval global function, no other browsers support those Netscape legacies, so the compatibility risk should be low.

How can I test this?

This change can be tested with the compatibilty checker in our Firefox Developer Tools extension. Get it today!