HF RL Explorer

function sequenceExpressionInside() {

function sequenceExpressionInside() {: a task in LegoFlow-SWE (Harbor dataset). When a return or throw statement contains a SequenceExpression (comma expression) or AssignmentExpression that has a leading inline or block comment, Prettier wraps the expression in an extra set of parentheses that…

The task

When a `return` or `throw` statement contains a `SequenceExpression` (comma expression) or `AssignmentExpression` that has a leading inline or block comment, Prettier wraps the expression in an **extra set of parentheses** that are unnecessary because the `return`/`throw` statement itself already prints surrounding…

Part of Lego-X/LegoFlow-SWE.