This commit is contained in:
poma 2021-02-11 09:23:18 +03:00
parent c6b442713a
commit 346ffcee3c
No known key found for this signature in database
GPG key ID: BA20CB01FE165657
35 changed files with 852 additions and 8943 deletions

View file

@ -1,5 +1,3 @@
class JsStorage {
constructor() {
this.db = {}
@ -30,7 +28,7 @@ class JsStorage {
}
put_batch(key_values) {
key_values.forEach(element => {
key_values.forEach((element) => {
this.db[element.key] = element.value
})
}