deleteKeyValue
Reset global environment variable.
globals.deleteKeyValue(key)
Deletes the current value at key
. Future get
s will use the default value.
globals.define('global', window);
globals.setKeyValue('global', {});
globals.deleteKeyValue('global');
globals.getKeyValue('global') === window; //-> true
Parameters
- key
{String}
:The key value to access.