mirror of
https://github.com/tc39/test262.git
synced 2025-07-27 07:54:41 +02:00
Update test/built-ins/Map/groupBy/string.js
Co-authored-by: Jordan Harband <ljharb@gmail.com>
This commit is contained in:
parent
112cf25567
commit
8245443f8f
@ -19,4 +19,4 @@ const map = Map.groupBy(string, function (char) {
|
|||||||
|
|
||||||
assert.compareArray(Array.from(map.keys()), ['before', 'after']);
|
assert.compareArray(Array.from(map.keys()), ['before', 'after']);
|
||||||
assert.compareArray(map.get('before'), ['a', 'b']);
|
assert.compareArray(map.get('before'), ['a', 'b']);
|
||||||
assert.compareArray(map.get('odd'), ['c', 'd']);
|
assert.compareArray(map.get('after'), ['c', 'd']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user