--- source: crates/rome_formatter_test/src/snapshot_builder.rs info: test_file: js/module/statement/for_loop.js --- # Input ```js for (; ;) { let x = 10; } for (x;;) { let y = 20 } for (;y;) { let z = 8; } for (;;z) { let a = 3; } for(a;b;c) { let b = 3; } for(let aVeryLongVariableNameToEnforceLineBreaks = 0; aVeryLongVariableNameToEnforceLineBreaks; aVeryLongVariableNameToEnforceLineBreaks) { } ``` ============================= # Outputs ## Output 1 ----- Indent style: Tab Line width: 80 Quote style: Double Quotes Quote properties: As needed Trailing comma: All Semicolons: Always ----- ```js for (;;) { let x = 10; } for (x; ; ) { let y = 20; } for (; y; ) { let z = 8; } for (; ; z) { let a = 3; } for (a; b; c) { let b = 3; } for ( let aVeryLongVariableNameToEnforceLineBreaks = 0; aVeryLongVariableNameToEnforceLineBreaks; aVeryLongVariableNameToEnforceLineBreaks ) {} ```