Files
test-repo/tests/format/js/binary-expressions/comment.js
T

54 lines
867 B
JavaScript

a = (
// Comment 1
(Math.random() * (yRange * (1 - minVerticalFraction)))
+ (minVerticalFraction * yRange)
) - offset;
a +
a +
a + // comment
a +
a;
a &&
longLongLongLongLongLongLongLongLong &&
longLongLongLongLongLongLongLongLong && // comment
longLongLongLongLongLongLongLongLong &&
longLongLongLongLongLongLongLongLong
a ||
longLongLongLongLongLongLongLongLong ||
longLongLongLongLongLongLongLongLong || // comment
longLongLongLongLongLongLongLongLong ||
longLongLongLongLongLongLongLongLong
var a = x(abifornCringerMoshedPerplexSawder
+ kochabCooieGameOnOboleUnweave // f
+ glimseGlyphsHazardNoopsTieTie+bifornCringerMoshedPerplexSawder);
foo[
a +
a + // comment
a +
bar[
b +
b +
b + // comment
b +
b
]
];
!(
a +
a + // comment
a +
!(
b +
b +
b + // comment
b +
b
)
);