function foo(value) {
value = value || '';
var args = [].slice.call(arguments);
args.unshift(this);
return args;
}
foo(null);
export {};
If your module does nothing but side-effects during load time, screw you. function foo(value) {
value = value || '';
var args = [].slice.call(arguments);
args.unshift(this);
return args;
}
foo(null);
export {};
If your module does nothing but side-effects during load time, screw you.I think being explicit about the intent of your code is a good thing after all.