Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Esprima/JavascriptParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2281,7 +2281,7 @@ private void CheckPatternParam(ParsedParameters options, Node param)
};
}

private const int MaxAssignmentDepth = 100;
public int MaxAssignmentDepth { get; set; } = 1000;
private int _assignmentDepth = 0;

private Expression ParseAssignmentExpression()
Expand Down
Loading