randomChoice(choice1, choice2) → {any}
Choose between one of two values randomly.
Parameters
| Name | Type | Description |
|---|---|---|
choice1 | any | |
choice2 | any |
Returns
any -
The randomly selected choice
- Source code: utils/Utils.js (Line 106)
randomChoice(choice1, choice2) → {any}
Choose between one of two values randomly.
| Name | Type | Description |
|---|---|---|
choice1 | any | |
choice2 | any |
The randomly selected choice
Please login to continue.