var o = { foo: 42, [Symbol("bar")]: "hello world", baz: true } var b = { foo: 43, [Symbol("bar")]: "hello world", baz: false } console.log(a[Symbol("bar")]) a = Object.assign({}, o, b)