IMD.remove(key)
Removes the key/value if such a key is present in the In Memory Data (cache).
Paramaters
The method has the following parameters:
Parameters | Description |
---|---|
key | The key and its associated value to remove. |
Example
IMD.put("newTempPassword", "123456");
IMD.remove("newTempPassword");
console.log(IMD.get("newTempPassword"));
null