Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
jazelly and aduh95 authored Oct 8, 2024
1 parent f64ce5e commit 533ce0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/structured_clone.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function structuredClone(value, options) {
}
const key = 'transfer';
const idlOptions = { __proto__: null, [key]: [] };
if (options !== undefined && options !== null && key in options && options[key] !== undefined) {
if (options != null && key in options && options[key] !== undefined) {
idlOptions[key] = webidl.converters['sequence<object>'](options[key], {
__proto__: null,
context: 'Transfer',
Expand Down

0 comments on commit 533ce0a

Please sign in to comment.