Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rockarts authored Jun 2, 2021
1 parent 110dba7 commit 1678320
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
exports = module.exports = function (a, b) {
if (a && b) {
var allowedAttrs = Object.getOwnPropertyNames(b);
console.log(allowedAttrs)

for (var allowedAttrs in b) {
a[allowedAttrs] = b[allowedAttrs];
}
}
return a;
};
};

0 comments on commit 1678320

Please sign in to comment.