export const slice = Function.prototype.call.bind(Array.prototype.slice) as (arrayLike: ArrayLike, start?: number, end?: number) => T[]; export const forEach = Function.prototype.call.bind(Array.prototype.forEach) as (array: ArrayLike, callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any) => void; export const map = Function.prototype.call.bind(Array.prototype.map) as (array: ArrayLike, callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any) => U[];