facebookarchive/prepack
View on GitHubDeal with undefined properties in special case for JSON.parse(JSON.stringify(abstractObject))
Open
#1,011 opened on Sep 27, 2017
abstractenhancementhelp wantedserializertest needed
Repository metrics
- Stars
- (14,268 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
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.