javascript-stringify
javascript-stringify copied to clipboard
Restore properties on a function
Currently it's just stringifying the function - I should really be using Function.prototype.toString
and restoring the function properties though (since a function is just another object).
Edit: Also for RegExp
.