Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jazelly committed Oct 23, 2024
1 parent 858f61c commit 458dc47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/webidl.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ function createDictionaryConverter(members) {
opts = kEmptyObject,
) {
const typeV = type(V);
if (V !== undefined && V !== null && typeV !== 'Object') {
if (V != null && typeV !== 'Object') {
throw makeException(
'can not be converted to a dictionary',
opts,
Expand Down

0 comments on commit 458dc47

Please sign in to comment.