facebookarchive/prepack

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

Open

#1.011 geöffnet am 27. Sept. 2017

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (520 Forks)batch import
abstractenhancementhelp wantedserializertest needed

Repository-Metriken

Stars
 (14.268 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide