putString method
Associates a DOMString with a particular key.
putString(key, value)
Parameters
String key
Identifies the value to be replaced.
String value
The new value to be stored. If the value is null, the previous value, if any, is deleted from the map.
Returns
void
這是否有幫助?