update

abstract fun update(key: String, value: ERROR CLASS: Symbol not found for JsAny??): PromiseLike<Void>(source)

Store a value. The value must be JSON-stringifyable.

Note that using undefined as value removes the key from the underlying storage.

Parameters

key

A string.

value

A value. MUST not contain cyclic references.

Online Documentation