6 ms·
> There is a problem with accessing prototypes of objects, as they are not exposed to the user Actually, Object.getPrototypeOf was added in ECMAScript 5.1. It'
by masklinn 13y ago
> There is a problem with accessing prototypes of objects, as they are not exposed to the user
Actually, Object.getPrototypeOf was added in ECMAScript 5.1. It's even supported by IE9.
> only available through internal property __prototype__ (IIRC)
It's an external property (the internal one is `[[Prototype]]`_, and is called `__proto__`. It's non-standard, although all modern browsers implement it (even IE11, but not IE10)
- klibertp 13y ago> the internal one is `[[Prototype]]` I was thinking about this one. > Actually, Object.getPrototypeOf was added in ECMAScript 5.1. Wow. Thanks, I wasn't aware of this.