Top Rounds
| We are Hiring! |

_resetSavedRandom ·

This is a Browser Action API.

It is used to reset a _savedRandom. It is useful during debugging/troubleshooting via the controller.

Syntax:

_resetSavedRandom(id)
The parameters are:

  • id: Id of the _savedRandom that needs to be reset

Example:

_savedRandom(“a”, 10, 30); // returns a random number, say 23
_savedRandom(“a”, 10, 30); // returns 23
_savedRandom(“a”); // returns 23
_resetSavedRandom(“a”);
_savedRandom(“a”); // returns null
_savedRandom(“a”, 10, 30); // returns another random number




---


Top Rounds