diff --git a/source b/source index 2f48189b9fb..dd562b7517e 100644 --- a/source +++ b/source @@ -99147,17 +99147,16 @@ interface Storage {
storage . length
-

Returns the number of key/value pairs currently present in the list associated with the - object.

+

Returns the number of key/value pairs.

storage . key ( n )
-

Returns the name of the nth key in the list, or null if n is greater - than or equal to the number of key/value pairs in the object.

+

Returns the name of the nth key, or null if n is greater than or + equal to the number of key/value pairs.

value = storage . getItem ( key )
value = storage[key]

Returns the current value associated with the given key, or null if the given - key does not exist in the list associated with the object.

+ key does not exist.

storage . setItem ( key, value )
storage[key] = value
@@ -99176,8 +99175,8 @@ interface Storage {
storage . removeItem ( key )
delete storage[key]
-

Removes the key/value pair with the given key from the list associated with the - object, if a key/value pair with the given key exists.

+

Removes the key/value pair with the given key, if a key/value pair with the given + key exists.

Dispatches a storage event on Window objects holding an equivalent Storage object.

@@ -99185,7 +99184,7 @@ interface Storage {
storage . clear()
-

Empties the list associated with the object of all key/value pairs, if there are any.

+

Removes all key/value pairs, if there are any.

Dispatches a storage event on Window objects holding an equivalent Storage object.