Files
test-repo/tests/method-chain/bracket_0.js
T
Christopher Chedeau c99a877b9f Do not break on [0] (#1441)
In practice, we never want to break on `[0]`. By not doing that, it forces prettier to find a more suitable break placement.

Fixes #1418
2017-05-01 14:41:34 -07:00

10 lines
174 B
JavaScript

function a() {
function b() {
queryThenMutateDOM(
() => {
title = SomeThing.call(root, 'someLongStringThatPushesThisTextReallyFar')[0];
}
);
}
}