1
0
mirror of https://github.com/keeweb/keeweb.git synced 2024-06-26 07:39:04 +02:00

collection toJSON

This commit is contained in:
antelle 2019-09-19 22:07:14 +02:00
parent 8e30d99e94
commit 64bf07c71e

View File

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