From 98b78dcfba51664fcf53982a3bbb3190472a4dda Mon Sep 17 00:00:00 2001 From: Bernard Lin Date: Wed, 9 May 2018 02:46:22 -0700 Subject: [PATCH] fix typo Summary: Release Note: none Closes https://github.com/facebook/prepack/pull/1909 Differential Revision: D7925196 Pulled By: trueadm fbshipit-source-id: 3461e2f75f7d207e7b6e04cf9b319f15612b1945 --- website/frequently-asked-questions.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/frequently-asked-questions.html b/website/frequently-asked-questions.html index 1787766f0..06802923c 100644 --- a/website/frequently-asked-questions.html +++ b/website/frequently-asked-questions.html @@ -48,7 +48,7 @@

Why do I get a ReferenceError when trying to prepack my code?

- Trying to prepack a seemlingly simple program such as global.result = UnknownProperty; will cause a + Trying to prepack a seemingly simple program such as global.result = UnknownProperty; will cause a ReferenceError. The reason is that Prepack actually runs the global code, not knowing anything else about the environment. And the semantics of JavaScript is that an unknown identifier that cannot be resolved causes a ReferenceError. You might want to invest into modeling your environment.