diff --git a/website/frequently-asked-questions.html b/website/frequently-asked-questions.html index 1787766f05..06802923c7 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.