Last active
October 23, 2015 10:24
-
-
Save vladyn/b9eb1a9faff369f82d91 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var arr = ["one", "two", "three"]; | |
var randomIndex = Math.floor( Math.random() * arr.length ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment