array.getProto
Last updated
⚠️ Not implemented in the current OSL CLI.
getProto returns the internal prototype object for the current array instance. This is mostly useful for reflection or when you need to inspect what methods / properties exist on the prototype at runtime.
getProto takes no parameters.
proto @= [1, 2, 3].getProto()
log proto
// { "map": function, "filter": function, ... }Last updated