--- source: crates/rome_formatter_test/src/snapshot_builder.rs info: test_file: js/classes/member.js --- # Input ```js (class {})[1]; (class {}).a; ``` # Prettier differences ```diff --- Prettier +++ Rome @@ -1,2 +1,2 @@ -(class {}[1]); -(class {}.a); +(class {})[1]; +(class {}).a; ``` # Output ```js (class {})[1]; (class {}).a; ```