toSource() and uneval() have been removed

Published: | Categories: JavaScript


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.