browser.js |
|
0 |
callback-arg.js |
---
esid: sec-map.groupby
description: Map.groupBy calls function with correct arguments
info: |
Map.groupBy ( items, callbackfn )
...
GroupBy ( items, callbackfn, coercion )
6. Repeat,
e. Let key be Completion(Call(callbackfn, undefined, « value, 𝔽(k) »)).
...
features: [array-grouping, Map]
--- |
799 |
callback-throws.js |
---
esid: sec-map.groupby
description: Map.groupBy throws when callback throws
info: |
Map.groupBy ( items, callbackfn )
...
GroupBy ( items, callbackfn, coercion )
6. Repeat,
e. Let key be Completion(Call(callbackfn, undefined, « value, 𝔽(k) »)).
f. IfAbruptCloseIterator(key, iteratorRecord).
...
features: [array-grouping, Map]
--- |
677 |
emptyList.js |
---
esid: sec-map.groupby
description: Callback is not called and object is not populated if the iterable is empty
info: |
Map.groupBy ( items, callbackfn )
...
GroupBy ( items, callbackfn, coercion )
6. Repeat,
c. If next is false, then
i. Return groups.
...
features: [array-grouping, Map]
--- |
719 |
evenOdd.js |
---
esid: sec-map.groupby
description: Map.groupBy populates Map with correct keys and values
info: |
Map.groupBy ( items, callbackfn )
...
includes: [compareArray.js]
features: [array-grouping, Map]
--- |
637 |
groupLength.js |
---
esid: sec-map.groupby
description: Map.groupBy populates Map with correct keys and values
info: |
Map.groupBy ( items, callbackfn )
...
includes: [compareArray.js]
features: [array-grouping, Map, Symbol.iterator]
--- |
645 |
invalid-callback.js |
---
esid: sec-map.groupby
description: Map.groupBy called with non-callable throws TypeError
info: |
Map.groupBy ( items, callbackfn )
...
GroupBy ( items, callbackfn, coercion )
2. If IsCallable(callbackfn) is false, throw a TypeError exception.
...
features: [array-grouping, Map]
--- |
775 |
invalid-iterable.js |
---
esid: sec-map.groupby
description: Map.groupBy with a nullish Symbol.iterator throws
info: |
Map.groupBy ( items, callbackfn )
...
GroupBy ( items, callbackfn, coercion )
4. Let iteratorRecord be ? GetIterator(items).
...
features: [array-grouping, Map]
--- |
872 |
iterator-next-throws.js |
---
esid: sec-map.groupby
description: Map.groupBy throws when iterator next throws
info: |
Map.groupBy ( items, callbackfn )
...
GroupBy ( items, callbackfn, coercion )
6. Repeat,
b. Let next be ? IteratorStep(iteratorRecord).
...
features: [array-grouping, Map, Symbol.iterator]
--- |
756 |
length.js |
---
esid: sec-map.groupby
description: Map.groupBy property length descriptor
info: |
Map.groupBy ( items, callbackfn )
...
17 ECMAScript Standard Built-in Objects
...
includes: [propertyHelper.js]
features: [array-grouping, Map]
--- |
528 |
map-instance.js |
---
esid: sec-map.groupby
description: Map.groupBy returns a Map instance
info: |
Map.groupBy ( items, callbackfn )
...
2. Let map be ! Construct(%Map%).
...
4. Return map.
...
features: [array-grouping, Map]
--- |
551 |
name.js |
---
esid: sec-map.groupby
description: Map.groupBy property name descriptor
info: |
Map.groupBy ( items, callbackfn )
...
17 ECMAScript Standard Built-in Objects
...
includes: [propertyHelper.js]
features: [array-grouping, Map]
--- |
532 |
negativeZero.js |
---
esid: sec-map.groupby
description: Map.groupBy normalizes 0 for Map key
info: |
Map.groupBy ( items, callbackfn )
...
GroupBy ( items, callbackfn, coercion )
6. Repeat,
h. Else,
i. Assert: coercion is zero.
ii. If key is -0𝔽, set key to +0𝔽.
...
includes: [compareArray.js]
features: [array-grouping, Map]
--- |
669 |
shell.js |
|
0 |
string.js |
---
esid: sec-map.groupby
description: Map.groupBy works for string items
info: |
Map.groupBy ( items, callbackfn )
...
includes: [compareArray.js]
features: [array-grouping, Map]
--- |
668 |
toPropertyKey.js |
---
esid: sec-map.groupby
description: Map.groupBy does not coerce return value with ToPropertyKey
info: |
Map.groupBy ( items, callbackfn )
...
includes: [compareArray.js]
features: [array-grouping, Map]
--- |
770 |