This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 425
PP8000
Herman Venter edited this page Apr 10, 2018
·
2 revisions
When the option --mathRandomSeed
is given to prepack, then all calls to Math.random()
get evaluated based on the random seed supplied via the option. This causes Prepack to replace the call with the result of the call, which is a compile time constant, which may be unexpected.
This informational message provides details about where such calls to Math.random()
happen. It is suggested that these calls be reviewed to ensure that they may be replaced with constants.