facebookarchive/prepack

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

Open

#1011 aperta il 27 set 2017

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (520 fork)batch import
abstractenhancementhelp wantedserializertest needed

Metriche repository

Star
 (14.268 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor