Extends the Object global dict with: - getPrototypeOf / setPrototypeOf — read/write __proto__ chain - create(proto, props?) — builds new obj with proto and optional descriptors - defineProperty / defineProperties — descriptor.value only (no getters/setters) - getOwnPropertyNames / getOwnPropertyDescriptor(s) — simple shapes - isExtensible / isFrozen / isSealed (permissive stubs) - seal / preventExtensions (no-ops) - is — SameValue (NaN is NaN, -0 vs +0 distinguished via inspect string) - fromEntries — inverse of entries - hasOwn — explicit owner check for string keys 9 new unit tests, 506/508 total. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
91 KiB
91 KiB