Skip to content

Commit

Permalink
fix Parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
wenwenhua committed Dec 23, 2024
1 parent ad20862 commit 3f781aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const parseValueFromParentheses = (values: string) => {
} else if (char === ')') {
stack--
if (stack === 0) {
val = values.substring(start, i + 1)
val = values.substring(start + 1, i)
}
}
}
Expand Down

0 comments on commit 3f781aa

Please sign in to comment.