blob: 35d6160a2347dba15927ad8fe3ce5cf528040552 [file] [log] [blame]
40 columns |
>>> inline after "var"
var /* int */ x;
<<<
var /* int */ x;
>>> trailing line comment
var x; // x
<<<
var x; // x
>>> multiple variable declaration list
var x /* X */, y;
<<<
var x /* X */, y;
>>> continue with line comment
while (true) {
continue // comment
;
}
<<<
while (true) {
continue // comment
;
}
>>> continue with wrapped block comment
while (true) {
continue /* a long comment that does not wrap */;
}
<<<
while (true) {
continue /* a long comment that does not wrap */;
}
>>> do with line comment
do // comment
{;} while (true);
<<<
do // comment
{
;
} while (true);
>>> always place newline after multi-line block comment
/*
*/ var i = value;
<<<
/*
*/
var i = value;