--- source: crates/rome_formatter_test/src/snapshot_builder.rs info: test_file: js/export-default/body.js --- # Input ```js export default (class {}[1] = 1); ``` # Prettier differences ```diff --- Prettier +++ Rome @@ -1 +1 @@ -export default (class {}[1] = 1); +export default ((class {})[1] = 1); ``` # Output ```js export default ((class {})[1] = 1); ```