Closed samreid closed 8 years ago
I tested this by running build-an-atom, which uses seedrandom. Using this code before any script runs:
var random = Math.random; console.log('got math.random',random); window.savedRandom = random;
Then in the console after startup:
This shows that Math is augmented with a seedrandom instance, but Math.random is unperturbed.
I tested this by running build-an-atom, which uses seedrandom. Using this code before any script runs:
Then in the console after startup:
This shows that Math is augmented with a seedrandom instance, but Math.random is unperturbed.