-
-
Save volkanozcan/271fa484d9b515f8e5ea to your computer and use it in GitHub Desktop.
javascript:random
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
function rastgele (x,y) { | |
/*x ten y'ye kadar rastgele sayı ver*/ | |
return ~~(Math.random() * y) + x; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment