Add ArrayBuffer/DataView/Symbol#toString and improve Errors (#332)

This commit is contained in:
Max Graey
2018-11-18 12:43:44 +02:00
committed by Daniel Wirtz
parent a79db87af9
commit 1928404f3b
13 changed files with 3479 additions and 118 deletions

View File

@ -177,6 +177,10 @@ export class DataView {
HEADER_SIZE
);
}
toString(): string {
return "[object DataView]";
}
}
@inline function checkOffset(byteOffset: i32, n: i32, byteLength: i32): void {