collection toJSON

This commit is contained in:
antelle 2019-09-19 22:07:14 +02:00
parent 8e30d99e94
commit 64bf07c71e
1 changed files with 4 additions and 0 deletions

View File

@ -238,6 +238,10 @@ class Collection {
copyWithin() {
throw new Error('Not implemented');
}
toJSON() {
return this[SymbolArray].concat();
}
}
const ProxiedArrayMethods = [