Created
August 5, 2019 23:29
-
-
Save nealalan/f361cf38ec6f515452c2070b30e8100c to your computer and use it in GitHub Desktop.
Revisions
-
nealalan created this gist
Aug 5, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ ### MATH FUNCTION - Math.max (maximum) - Math.min (minimum) - Math.sqrt (square root) - Math.PI - Math.random (decimal) - Math.floor (rounds down to the nearest whole number) ```js console.log(Math.floor(Math.random() * 10)); // → 2 // Result will be between 0 and 9 ```