Skip to content

Commit

Permalink
Allows for trailing commas inside intermediate rows
Browse files Browse the repository at this point in the history
  • Loading branch information
dvd101x committed Feb 13, 2024
1 parent 07e5532 commit 1b500d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expression/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -1601,7 +1601,7 @@ export const createParse = /* #__PURE__ */ factory(name, dependencies, ({
getToken(state)

// parse expression
if (state.token !== ']') {
if (state.token !== ']' && state.token !== ';') {
params[len] = parseAssignment(state)
len++
}
Expand Down

0 comments on commit 1b500d6

Please sign in to comment.