diff options
| author | Jules Laplace <jules@okfoc.us> | 2017-04-26 21:13:55 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2017-04-26 21:13:55 -0400 |
| commit | a356074dd17029ada978381ca005684a3533102e (patch) | |
| tree | 43925d492e6dff19a853b4859ed13b093bc8b61c /client/lib/util.js | |
cells..
Diffstat (limited to 'client/lib/util.js')
| -rw-r--r-- | client/lib/util.js | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
