Function.prototype.demethodize
Less than 1 minute
Function.prototype.demethodize
Module
Types
interface Function {
demethodize(): Function;
}
Entry points
core-js/proposals/function-demethodize
core-js(-pure)/full/function/demethodize
core-js(-pure)/full/function/virtual/demethodize
Example
const slice = Array.prototype.slice.demethodize();
slice([1, 2, 3], 1); // => [2, 3]