Created
July 24, 2014 19:16
-
-
Save Bijesse/827d79e42e38a6c96ffb to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="JS-Intro" /> | |
<meta charset=utf-8 /> | |
<title>JS-Intro</title> | |
</head> | |
<body> | |
</body> | |
</html> |
This file contains hidden or 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 randZeroOne = Math.random(); | |
var randZeroFive = randZeroOne * 6; | |
var randOneSix = randZeroFive +1; | |
var randIntOneSix = Math.floor(randOneSix); | |
console.log(randIntOneSix); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment