chore: you live for now

This commit is contained in:
cha0s 2021-01-31 15:30:19 -06:00
parent 7212f671c2
commit 3406117aee

View File

@ -24,6 +24,24 @@ export default {
console.log(...args);
},
makeArray: (...args) => {
// No context!
args.pop();
return args;
},
makeObject: (...args) => {
// No context!
args.pop();
const object = {};
while (args.length > 0) {
const key = args.shift();
const value = args.shift();
object[key] = value;
}
return object;
},
merge: (l, r) => merge(l, r),
};