From ed62a07b37e666d1a5e972847460dee7f90b3987 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 23 Apr 2017 22:17:43 -0400 Subject: triangle interval map --- client/lib/util.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 client/lib/util.js (limited to 'client/lib/util.js') diff --git a/client/lib/util.js b/client/lib/util.js new file mode 100644 index 0000000..b2d95f5 --- /dev/null +++ b/client/lib/util.js @@ -0,0 +1,3 @@ +function choice (a){ return a[ Math.floor(Math.random() * a.length) ] } + +export { choice } \ No newline at end of file -- cgit v1.2.3-70-g09d2