mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
Update test/built-ins/Object/groupBy/string.js
Co-authored-by: Jordan Harband <ljharb@gmail.com>
This commit is contained in:
parent
8245443f8f
commit
065ccc121e
@ -18,5 +18,5 @@ const obj = Object.groupBy(string, function (char) {
|
||||
});
|
||||
|
||||
assert.compareArray(Object.keys(obj), ['before', 'after']);
|
||||
assert.compareArray(obj['before'], ['a', 'b']);
|
||||
assert.compareArray(obj['after'], ['c', 'd']);
|
||||
assert.compareArray(obj.before, ['a', 'b']);
|
||||
assert.compareArray(obj.after, ['c', 'd']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user