--- source: crates/rome_formatter_test/src/snapshot_builder.rs info: test_file: js/arrays/numbers-with-holes.js --- # Input ```js const numberWithHoles1 = [ 7234932941, 7234932722, 7234932312, // comment before a hole 1 , 7234932841, , 7234932843, , // comment after a hole 1 7234932436, ]; const numberWithHoles2 = [ 0x234932941, 0x234932722, 0x234932312, // comment before a hole 2 , 0x234932841, , 0x234932843, , // comment after a hole 2 0x234932436, ]; ``` # Prettier differences ```diff --- Prettier +++ Rome @@ -2,13 +2,13 @@ 7234932941, 7234932722, 7234932312, + // comment before a hole 1 , - // comment before a hole 1 7234932841, , 7234932843, - , // comment after a hole 1 + , 7234932436, ]; @@ -16,13 +16,13 @@ 0x234932941, 0x234932722, 0x234932312, - + // comment before a hole 2 , - // comment before a hole 2 0x234932841, , 0x234932843, - , // comment after a hole 2 + , + 0x234932436, ]; ``` # Output ```js const numberWithHoles1 = [ 7234932941, 7234932722, 7234932312, // comment before a hole 1 , 7234932841, , 7234932843, // comment after a hole 1 , 7234932436, ]; const numberWithHoles2 = [ 0x234932941, 0x234932722, 0x234932312, // comment before a hole 2 , 0x234932841, , 0x234932843, // comment after a hole 2 , 0x234932436, ]; ```