UNPKG

backendless

Version:

Backendless JavaScript SDK for Node.js and the browser

19 lines (14 loc) 225 B
export default class VirtualStorage { constructor() { this.data = {} } get(key) { return this.data[key] } set(key, value) { this.data[key] = value } remove(key) { delete this.data[key] } }