We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f64ce5e commit 533ce0aCopy full SHA for 533ce0a
lib/internal/structured_clone.js
@@ -31,7 +31,7 @@ function structuredClone(value, options) {
31
}
32
const key = 'transfer';
33
const idlOptions = { __proto__: null, [key]: [] };
34
- if (options !== undefined && options !== null && key in options && options[key] !== undefined) {
+ if (options != null && key in options && options[key] !== undefined) {
35
idlOptions[key] = webidl.converters['sequence<object>'](options[key], {
36
__proto__: null,
37
context: 'Transfer',
0 commit comments