Skip to content
A polyfill for Mozilla's Object.toSource() method.
JavaScript
Find file

README.md

toSource.js

A polyfill for Mozilla's Object.toSource() method. Returns the equivalent JavaScript source code (not JSON) for a JavaScript Object, Number, Boolean, String, RegExp, Error, Date or Function.

See the Mozilla docs for more information.

Something went wrong with that request. Please try again.