Clears the local storage of the module.
Optional
The storage to act upon.
A rejected promise represents an API violation.
// To clear all elements in the specified storage type// Defaults to STORAGE_TYPE.Localawait storage_clear();// To specify typeawait storage_clear(STORAGE_TYPE.Session); Copy
// To clear all elements in the specified storage type// Defaults to STORAGE_TYPE.Localawait storage_clear();// To specify typeawait storage_clear(STORAGE_TYPE.Session);
Clears the local storage of the module.