Each prototype contains method-name → closure pairs. Each closure reads this via js-this and dispatches through js-invoke-method. Lets Array.prototype.push, String.prototype.slice etc. be accessed and invoked as (expected) functions. 440/442 unit unchanged, 148/148 slice unchanged.
71 KiB
71 KiB