Restore properties on a function
Opened this issue · 0 comments
blakeembrey commented
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
.