Skip to content

Commit dd52ee8

Browse files
committed
Update README.
1 parent c9ea5a7 commit dd52ee8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ Returns the value for the specified *key* string. If the map does not have an en
273273

274274
<a name="map_set" href="#map_set">#</a> <i>map</i>.<b>set</b>(<i>key</i>, <i>value</i>)
275275

276-
Sets the *value* for the specified *key* string; returns the new *value*. If the map previously had an entry for the same *key* string, the old entry is replaced with the new value.
276+
Sets the *value* for the specified *key* string. If the map previously had an entry for the same *key* string, the old entry is replaced with the new value. Returns the map, allowing chaining.
277277

278278
<a name="map_remove" href="#map_remove">#</a> <i>map</i>.<b>remove</b>(<i>key</i>)
279279

@@ -326,7 +326,7 @@ Returns true if and only if this set has an entry for the specified *value* stri
326326

327327
<a name="set_add" href="#set_add">#</a> <i>set</i>.<b>add</b>(<i>value</i>)
328328

329-
Adds the specified *value* string to this set. Returns *value*.
329+
Adds the specified *value* string to this set. Returns the set, allowing chaining.
330330

331331
<a name="set_remove" href="#set_remove">#</a> <i>set</i>.<b>remove</b>(<i>value</i>)
332332

0 commit comments

Comments
 (0)