Add String#repeat method (#67)

This commit is contained in:
Max Graey
2018-04-07 19:59:26 +03:00
committed by Daniel Wirtz
parent f1b00c90be
commit b7ef21950b
8 changed files with 897 additions and 62 deletions

2
std/assembly.d.ts vendored
View File

@ -373,6 +373,8 @@ declare class String {
trim(): string;
trimLeft(): string;
trimRight(): string;
repeat(count?: i32): string;
toString(): string;
}
/** Class for representing a runtime error. Base class of all errors. */