blakeembrey / blakeembrey/javascript-stringify

Restore properties on a function

未關閉
#7 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
TypeScript
星號
146
分支
16
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

首先追蹤 issue 中描述的目前函式和 RegExp 字串化行為。將函式輸出與 Function.prototype.toString 進行比較,並判斷應如何還原屬性;當函式和 RegExp 值都保留所要求的表示形式和屬性時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript, typescript
領域
tooling
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。