Initial commit

This commit is contained in:
Tim Heuer
2019-12-14 13:10:21 -08:00
commit 98b8b6813d
12 changed files with 6059 additions and 0 deletions

11
wait.js Normal file
View File

@@ -0,0 +1,11 @@
let wait = function(milliseconds) {
return new Promise((resolve, reject) => {
if (typeof(milliseconds) !== 'number') {
throw new Error('milleseconds not a number');
}
setTimeout(() => resolve("done!"), milliseconds)
});
}
module.exports = wait;