Skip to content

Commit e773d5a

Browse files
committed
Update Map entries description
1 parent 55f6e26 commit e773d5a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

content/JavaScript/map.jsdoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,15 @@ console.log('size after delete: ' + x.size);
118118
console.log('value for "a" = ' + x.get('a'));
119119

120120
console.log('deleted "foo" = ' + x.delete('foo'));
121+
console.log('size after delete: ' + x.size);
121122
</example>
122123

123124
----
124125
prototype.entries() : Iterator<Array>
125126

126127
Returns an iterator of the index and items in **this** where the
127128
%%Iterator#next|**values**s%% of the iterator are of the form
128-
**[key : %%/Object|Object%%, item : %%/Object|Object%%]**.
129+
**[key : %%/Object|Object%%, value : %%/Object|Object%%]**.
129130

130131
The **entries** function is also returned for
131132
**this[%%/Symbol#iterator|Symbol.iterator%%]** so you can

0 commit comments

Comments
 (0)