Crear almacenamiento de funciones: la función funciona con el siguiente patrón:
const ourStorage = stor(); ourStorage.setValue('name', 'Miki'); ourStorage.setValue('age', 16); ourStorage.getValue('name'); // Miki ourStorage.getValue('age'); // 16 ourStorage.setValue('age', 20); ourStorage.getValue('age'); // 20 ourStorage.getValue('occupation'); // undefined
no entiendo un poco cómo se hace con el uso de setValue
y getValue
function stor() { const propsStorage = stor(); ... }