mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-19 01:41:30 +00:00
Add ArrayBuffer/DataView/Symbol#toString and improve Errors (#332)
This commit is contained in:
@ -165,6 +165,10 @@ export class Map<K,V> {
|
||||
this.entriesOffset = this.entriesCount;
|
||||
}
|
||||
|
||||
toString(): string {
|
||||
return "[object Map]";
|
||||
}
|
||||
|
||||
private __gc(): void {
|
||||
__gc_mark(changetype<usize>(this.buckets)); // tslint:disable-line
|
||||
var entries = this.entries;
|
||||
|
Reference in New Issue
Block a user