Skip to content

Commit

Permalink
Add a test for #599
Browse files Browse the repository at this point in the history
  • Loading branch information
dgutov committed Feb 21, 2024
1 parent e7373b0 commit dfbc6da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/parser.el
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,9 @@ the test."
(js2-deftest-parse function-strict-no-getter-setter-duplicate
"'use strict';\nvar a = {get x() {}, set x() {}};")

(js2-deftest-parse function-strict-with-static-block
"'use strict';\nclass C {\n static {\n}\n}")

;;; Spread operator

(js2-deftest-parse spread-in-array-literal
Expand Down

0 comments on commit dfbc6da

Please sign in to comment.