Open jdforsythe opened 3 years ago
Fixes these issues:
Object.entries()
Object.assign()
{...defaultOpts, ...nops}
Fixes these issues:
Object.entries()
to get key-value pairs in a loopObject.assign()
to merge default options (this could be a{...defaultOpts, ...nops}
but that is only supported from Node 8.3 (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax#browser_compatibility)