getPrototypeOf static method
- @Since.new('3.13')
- JSAny value
The JavaScript prototype of the JavaScript value, if any.
If value is a primitive value, the result is the prototype of its object
wrapper, as if converted by the JavaScript Object(value) first.
A JavaScript object may not have a prototype. This includes objects
created by Object.create(null) and
Object.prototype.
Implementation
@Since('3.13')
external static JSObject? getPrototypeOf(JSAny value);