@@ -99147,17 +99147,16 @@ interface <dfn>Storage</dfn> {
99147
99147
99148
99148
<dl class="domintro">
99149
99149
<dt><var>storage</var> . <code subdfn data-x="dom-Storage-length">length</code></dt>
99150
- <dd><p>Returns the number of key/value pairs currently present in the list associated with the
99151
- object.</p></dd>
99150
+ <dd><p>Returns the number of key/value pairs.</p></dd>
99152
99151
99153
99152
<dt><var>storage</var> . <code subdfn data-x="dom-Storage-key">key</code> ( <var>n</var> )</dt>
99154
- <dd><p>Returns the name of the <var>n</var>th key in the list , or null if <var>n</var> is greater
99155
- than or equal to the number of key/value pairs in the object .</p></dd>
99153
+ <dd><p>Returns the name of the <var>n</var>th key, or null if <var>n</var> is greater than or
99154
+ equal to the number of key/value pairs.</p></dd>
99156
99155
99157
99156
<dt><var>value</var> = <var>storage</var> . <code subdfn data-x="dom-Storage-getItem">getItem</code> ( <var>key</var> )</dt>
99158
99157
<dt><var>value</var> = <var>storage</var>[<var>key</var>]</dt>
99159
99158
<dd><p>Returns the current value associated with the given <var>key</var>, or null if the given
99160
- <var>key</var> does not exist in the list associated with the object .</p></dd>
99159
+ <var>key</var> does not exist.</p></dd>
99161
99160
99162
99161
<dt><var>storage</var> . <code subdfn data-x="dom-Storage-setItem">setItem</code> ( <var>key</var>, <var>value</var> )</dt>
99163
99162
<dt><var>storage</var>[<var>key</var>] = <var>value</var></dt>
@@ -99176,16 +99175,16 @@ interface <dfn>Storage</dfn> {
99176
99175
<dt><var>storage</var> . <code subdfn data-x="dom-Storage-removeItem">removeItem</code> ( <var>key</var> )</dt>
99177
99176
<dt><code>delete</code> <var>storage</var>[<var>key</var>]</dt>
99178
99177
<dd>
99179
- <p>Removes the key/value pair with the given <var>key</var> from the list associated with the
99180
- object, if a key/value pair with the given <var>key</var> exists.</p>
99178
+ <p>Removes the key/value pair with the given <var>key</var>, if a key/value pair with the given
99179
+ <var>key</var> exists.</p>
99181
99180
99182
99181
<p>Dispatches a <code data-x="event-storage">storage</code> event on <code>Window</code> objects
99183
99182
holding an equivalent <code>Storage</code> object.</p>
99184
99183
</dd>
99185
99184
99186
99185
<dt><var>storage</var> . <code subdfn data-x="dom-Storage-clear">clear</code>()</dt>
99187
99186
<dd>
99188
- <p>Empties the list associated with the object of all key/value pairs, if there are any.</p>
99187
+ <p>Removes all key/value pairs, if there are any.</p>
99189
99188
99190
99189
<p>Dispatches a <code data-x="event-storage">storage</code> event on <code>Window</code> objects
99191
99190
holding an equivalent <code>Storage</code> object.</p>
0 commit comments