1 parent 55f6e26 commit e773d5aCopy full SHA for e773d5a
1 file changed
content/JavaScript/map.jsdoc
@@ -118,14 +118,15 @@ console.log('size after delete: ' + x.size);
118
console.log('value for "a" = ' + x.get('a'));
119
120
console.log('deleted "foo" = ' + x.delete('foo'));
121
+console.log('size after delete: ' + x.size);
122
</example>
123
124
----
125
prototype.entries() : Iterator<Array>
126
127
Returns an iterator of the index and items in **this** where the
128
%%Iterator#next|**values**s%% of the iterator are of the form
-**[key : %%/Object|Object%%, item : %%/Object|Object%%]**.
129
+**[key : %%/Object|Object%%, value : %%/Object|Object%%]**.
130
131
The **entries** function is also returned for
132
**this[%%/Symbol#iterator|Symbol.iterator%%]** so you can
0 commit comments