()
| 1073 | it("should include constructor property when it has a meaningful user-defined value from a prototype when it is a function", () => { |
| 1074 | const f = () => 10 |
| 1075 | const g = () => 10 |
| 1076 | const obj1 = Object.setPrototypeOf({ a: 1 }, { constructor: f }) |
| 1077 | const obj2 = Object.setPrototypeOf({ a: 1 }, { constructor: f }) |
| 1078 | const obj3 = Object.setPrototypeOf({ a: 1 }, { constructor: g }) |