diff --git a/src/language-js/printer-estree.js b/src/language-js/printer-estree.js index 32bcb4cb..7d2fb08b 100644 --- a/src/language-js/printer-estree.js +++ b/src/language-js/printer-estree.js @@ -3181,9 +3181,6 @@ function printArgumentsList(path, options, print) { return concat(parts); }, "arguments"); - // This is just an optimization; I think we could return the - // conditional group for all function calls, but it's more expensive - // so only do it for specific forms. const shouldGroupFirst = shouldGroupFirstArg(args); const shouldGroupLast = shouldGroupLastArg(args); if (shouldGroupFirst || shouldGroupLast) {