Issue #1894 - Part 2: Implement support for nullish coalescing in the JS parser

Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
This commit is contained in:
FranklinDM 2022-05-16 01:33:50 +08:00 • committed by roytam1
commit d7cdeaf313
8 changed files with 119 additions and 44 deletions

View file

@ -663,6 +663,7 @@ class NameResolver
break;
// Nodes with arbitrary-expression children.
case PNK_COALESCE:
case PNK_OR:
case PNK_AND:
case PNK_BITOR: