IMD.put(key, value)
Inserts a specified value with a specified key into In Memory Data (cache).
Paramaters
The method has the following parameters:
Parameters | Description |
---|---|
key | The key under which a value will be inserted into the cache. |
value | The value which will be inserted into the cache. |
#Example
IMD.put("newTempPassword", "123456");
console.log(IMD.get("newTempPassword");
12345