securityos/node_modules/regl/lib/util/extend.js

8 lines
168 B
JavaScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
module.exports = function (base, opts) {
var keys = Object.keys(opts)
for (var i = 0; i < keys.length; ++i) {
base[keys[i]] = opts[keys[i]]
}
return base
}