跳至主要內容
Number

Number

模块


大约 1 分钟featurees-standardmissing-example
从最后开始查找 Array

从最后开始查找 Array

类型

interface Array<T> {
  findLast(callbackfn: (value: T, index: number, target: Array<T>) => boolean, thisArg?: any): T;
  findLastIndex(callbackfn: (value: T, index: number, target: Array<T>) => boolean, thisArg?: any): number;
}

interface TypedArray {
  findLast(callbackfn: (value: any, index: number, target: ) => boolean, thisArg?: any): any;
  findLastIndex(callbackfn: (value: any, index: number, target: ) => boolean, thisArg?: any): number;
}

小于 1 分钟featurees-proposalmissing-example
Array.prototype.includes

Array.prototype.includes

类型

interface Array<T> {
  includes(searchElement: T, from?: number): boolean;
}

interface TypedArray {
  includes(searchElement: number, from?: number): boolean;
}

小于 1 分钟featurees-proposalmissing-example
新的集合方法

新的集合方法

模块


大约 2 分钟featurees-proposalmissing-example
2
3
4