Small change

This commit is contained in:
Daniel Odendahl Jr
2017-12-14 03:24:57 +00:00
parent e815395bae
commit 0522ac9f31
+2 -3
View File
@@ -1,10 +1,9 @@
const { promisify } = require('util');
const yes = ['yes', 'y', 'ye', 'yeah', 'yup', 'yea'];
const no = ['no', 'n', 'nah', 'nope'];
class Util {
static wait(time) {
return promisify(setTimeout)(time);
static wait(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
static shuffle(array) {