Skip to content

Commit 458dc47

Browse files
committed
fixup
1 parent 858f61c commit 458dc47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/webidl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ function createDictionaryConverter(members) {
281281
opts = kEmptyObject,
282282
) {
283283
const typeV = type(V);
284-
if (V !== undefined && V !== null && typeV !== 'Object') {
284+
if (V != null && typeV !== 'Object') {
285285
throw makeException(
286286
'can not be converted to a dictionary',
287287
opts,

0 commit comments

Comments
 (0)