--- source: crates/rome_formatter_test/src/snapshot_builder.rs info: js/arrays/issue-10159.js --- # Input ```js {for (const srcPath of [src, `${src}.js`, `${src}/index`, `${src}/index.js`]) {}} {for (const srcPath of [123, 123_123_123, 123_123_123_1, 13_123_3123_31_43]) {}} {for (const srcPath of [123, 123_123_123, 123_123_123_1, 13_123_3123_31_432]) {}} {for (const srcPath of [123, 123_123_123, 123_123_123_1, 13_123_3123_31_4321]) {}} ``` # Prettier differences ```diff --- Prettier +++ Rome @@ -7,7 +7,9 @@ } } { - for (const srcPath of [123, 123_123_123, 123_123_123_1, 13_123_3123_31_432]) { + for (const srcPath of [ + 123, 123_123_123, 123_123_123_1, 13_123_3123_31_432, + ]) { } } { ``` # Output ```js { for (const srcPath of [src, `${src}.js`, `${src}/index`, `${src}/index.js`]) { } } { for (const srcPath of [123, 123_123_123, 123_123_123_1, 13_123_3123_31_43]) { } } { for (const srcPath of [ 123, 123_123_123, 123_123_123_1, 13_123_3123_31_432, ]) { } } { for (const srcPath of [ 123, 123_123_123, 123_123_123_1, 13_123_3123_31_4321, ]) { } } ```