1
0
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:
SUZUKI Sosuke 2024-04-01 13:35:26 +09:00 committed by Philip Chimento
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']);