@genexus/web-standard-functions
Version:
GeneXus JavaScript standard functions library for web generators
16 lines • 467 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.remove = remove;
const common_1 = require("./common");
/**
* Deletes the stored value for the given key. If the key does not exist, the method has no effect.
* @param {string} key
*/
function remove(key) {
if (!common_1.storage) {
return;
}
const pKey = (0, common_1.prefixKey)(key);
common_1.storage.removeItem(pKey);
}
//# sourceMappingURL=remove.js.map