Closed bakkot closed 4 years ago
Fixes https://github.com/shapesecurity/shift-parser-js/issues/423 and https://github.com/shapesecurity/shift-parser-js/issues/425.
(The first commit. The second commit is just a simplification which doesn't change behavior.)
Fixes https://github.com/shapesecurity/shift-parser-js/issues/423 and https://github.com/shapesecurity/shift-parser-js/issues/425.
(The first commit. The second commit is just a simplification which doesn't change behavior.)