summaryrefslogtreecommitdiff
path: root/js/utility.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/utility.js')
-rw-r--r--js/utility.js3
1 files changed, 3 insertions, 0 deletions
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