facebookarchive/prepack

Deal with undefined properties in special case for JSON.parse(JSON.stringify(abstractObject))

Open

#1,011 创建于 2017年9月27日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (520 fork)batch import
abstractenhancementhelp wantedserializertest needed

仓库指标

Star
 (14,268 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

If a known property of the abstractObject has an abstract value that may be undefined at runtime, then runtime code should be generated to delete (or not add) the property in the abstract value resulting from parse if the property value turns out to be undefined at runtime.

贡献者指南