UNPKG

@genexus/web-standard-functions

Version:

GeneXus JavaScript standard functions library for web generators

15 lines 430 B
import { prefixKey, storage } from "./common"; /** * Saves the received value associated with the specified key. * If it is applied consecutive times to the same key, its value is the latest assigned * @param {string} key * @param {string} value */ export function set(key, value) { if (!storage) { return; } const pKey = prefixKey(key); storage.setItem(pKey, value); } //# sourceMappingURL=set.js.map