Last active
August 29, 2015 14:02
-
-
Save oieioi/849bb6872685464e03d8 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 getRandomStr = function(l){var re = "";for(var i = 0;i < l;i++)re+=Math.floor(Math.random()*10);return re;}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment