facebookarchive/prepack
在 GitHub 查看Map NaN and Infinity to null in special case for JSON.parse(JSON.stringify(abstractObject))
Open
#1,010 创建于 2017年9月27日
abstractenhancementhelp wantedtest needed
仓库指标
- Star
- (14,268 star)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
If a property value is abstract can possibly be NaN or Infinity, then the abstract value should be wrapped in a conditional expression that returns null at runtime when the abstract values turns out to be NaN or Infinity at runtime.