14 lines
353 B
JavaScript
14 lines
353 B
JavaScript
// Metro module 3518 (f3519).
|
|
export default function assign(a0, a1) {
|
|
if (a0 == null) {
|
|
throw new TypeError("assign requires that input parameter not be null or undefined");
|
|
}
|
|
for (const key in a1) {
|
|
if (Object.prototype.hasOwnProperty.call(a1, key)) {
|
|
a0[key] = a1[key];
|
|
}
|
|
}
|
|
return a0;
|
|
};
|
|
module.exports = exports.default;
|