Tests that console logging dumps object values defined by getters and allows to expand it.
console-log-object-with-getter.js:32 {}
console-log-object-with-getter.js:33 (2) [(...), empty]
console-log-object-with-getter.js:34 {}
console-log-object-with-getter.js:32 {}foo: Objectget foo: ƒ ()set bar: ƒ (x)[[Prototype]]: Object
console-log-object-with-getter.js:33 (2) [(...), empty]0: 1length: 2get 0: ƒ ()set 1: ƒ (x)[[Prototype]]: Array(0)
console-log-object-with-getter.js:34 {}error: [Exception: Error: myError]function: [Exception: ƒ ()]number: [Exception: 123]string: [Exception: "myString"]get error: ƒ error()get function: ƒ ()get number: ƒ number()get string: ƒ string()[[Prototype]]: Object