Add Array#join and Array#toString + dtoa (#275)

This commit is contained in:
Max Graey
2018-10-01 23:57:56 +03:00
committed by Daniel Wirtz
parent ff87857f40
commit 53b030fed5
16 changed files with 22635 additions and 2229 deletions

View File

@ -265,10 +265,10 @@ declare class Array<T> {
unshift(element: T): i32;
slice(from?: i32, to?: i32): T[];
splice(start: i32, deleteCount?: i32): void;
reverse(): T[];
sort(comparator?: (a: T, b: T) => i32): this;
join(delim: string): string;
join(separator?: string): string;
reverse(): T[];
toString(): string;
}
declare class Uint8Array extends Array<u8> {}