--- source: crates/rome_formatter_test/src/snapshot_builder.rs info: test_file: js/module/object/object.js --- # Input ```js let a = { ...spread, foo() { }, *foo() { }, async *foo(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb, cccccccccccccccccccccccccccccc) { }, [fooooooooooooooooooooooooooooooooooooooooooooooooo()]: () => { }, [foo()]: { }, ...spread, } const x = {apple: "banana"}; const y = { apple: "banana", }; ({a, b, c} = {a: 'apple', b: 'banana', c: 'coconut'}); ({ a, b, c} = {a: 'apple', b: 'banana', c: 'coconut'}); ``` ============================= # Outputs ## Output 1 ----- Indent style: Tab Line width: 80 Quote style: Double Quotes Quote properties: As needed Trailing comma: All Semicolons: Always ----- ```js let a = { ...spread, foo() {}, *foo() {}, async *foo( aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb, cccccccccccccccccccccccccccccc, ) {}, [fooooooooooooooooooooooooooooooooooooooooooooooooo()]: () => {}, [foo()]: {}, ...spread, }; const x = { apple: "banana" }; const y = { apple: "banana", }; ({ a, b, c } = { a: "apple", b: "banana", c: "coconut" }); ({ a, b, c } = { a: "apple", b: "banana", c: "coconut" }); ```