chore: you live for now
This commit is contained in:
parent
7212f671c2
commit
3406117aee
|
@ -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),
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user