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