Skip to content

Commit 5aefcb6

Browse files
committed
implement fix
1 parent 8198627 commit 5aefcb6

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

snow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ function forEachOpened(cb, arg1) {
981981
}
982982
}
983983
function proxy(opened) {
984-
const target = new Object(null);
984+
const target = Object.create(null);
985985
Object.defineProperty(target, 'closed', {
986986
get: function () {
987987
return opened.closed;

0 commit comments

Comments
 (0)