class DataStore { constructor() { this.cache = new Map(); } get(key) { return this.cache.get(key); } set(key, val) { this.cache.set(key, val); } }