blakeembrey / blakeembrey/javascript-stringify

Restore properties on a function

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
146
Forks
16
PR merge metrics
No merged PRs in 30d

Description

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`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.