Skip to content

Commit

Permalink
Backport fix for xmldom#436 to v0.7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
jftanner committed Oct 12, 2022
1 parent 03fcf98 commit 4d4d0ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/dom.js
Expand Up @@ -62,7 +62,9 @@ function arrayIncludes (list) {

function copy(src,dest){
for(var p in src){
dest[p] = src[p];
if (Object.prototype.hasOwnProperty.call(src, p)) {
dest[p] = src[p];
}
}
}

Expand Down

0 comments on commit 4d4d0ff

Please sign in to comment.