@genexus/web-standard-functions
Version:
GeneXus JavaScript standard functions library for web generators
13 lines • 349 B
JavaScript
import { prefixKey, storage } from "./common";
/**
* Deletes the stored value for the given key. If the key does not exist, the method has no effect.
* @param {string} key
*/
export function remove(key) {
if (!storage) {
return;
}
const pKey = prefixKey(key);
storage.removeItem(pKey);
}
//# sourceMappingURL=remove.js.map