From c080e07ee1a0004d732508f9ed011678a38eda5e Mon Sep 17 00:00:00 2001 From: Li Zhineng Date: Fri, 7 Jun 2013 17:44:47 +0800 Subject: First commit --- js/utility.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 js/utility.js (limited to 'js/utility.js') diff --git a/js/utility.js b/js/utility.js new file mode 100644 index 0000000..ab67cd2 --- /dev/null +++ b/js/utility.js @@ -0,0 +1,3 @@ +function range(min, max) { + return Math.floor(Math.random() * (max - min + 1)) + min; +} \ No newline at end of file -- cgit v1.2.3