You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Liang Gong edited this page Apr 24, 2015
·
11 revisions
Introduction
To allow for better optimizations in the general case, the compiler makes various assumptions. This is an attempt to document these assumptions more fully.
Name references are assumed to never throw, as described here
Property reads are assumed to be side effect free, as described here. We support getters only if they are side-effect free
In ADVANCED mode, property sets do not have arbitrary side-effects (it is ok to remove property writes if the property is never read), as described here
The original value of Function.length may not be preserved, as described here.
"undefined", "NaN" and "Infinity" have not been externally redefined.
Object, Array, String, Number and Boolean have not been redefined. Standard methods on Object, Array, String, Number and Boolean have not been redefined in a way that breaks the original contract.