.getProto()
Description
getProto returns the internal prototype object for the current number instance. This is mostly useful for reflection or when you need to inspect what methods / properties exist on the prototype at runtime.
Parameters
getProto takes no parameters.
Usage On Numbers
proto @= 123.getProto()
log proto
// { "abs": function, "acos": function, ... }Last updated
Was this helpful?