Iterator helpers are new methods on iterator prototype to allow general usage and consumption of iterators.
{
"category": "JavaScript",
"flag_name": "--harmony_iterator_helpers",
"id": 5102502917177344,
"milestone": 117,
"name": "Iterator helpers",
"summary": "Iterator helpers are new methods on iterator prototype to allow general usage and consumption of iterators."
}
Adds news Object.groupBy(iterable, groupCallback) and Map.groupBy(iterable, groupCallback) to perform a grouping or bucketing operation. The Object method returns a plain object, where the groups are property keys. The Map method returns a Map, where the keys can be arbitrary values.
{
"category": "JavaScript",
"flag_name": "--harmony-array-grouping",
"id": 5714791975878656,
"milestone": 117,
"name": "Array grouping",
"summary": "Adds news Object.groupBy(iterable, groupCallback) and Map.groupBy(iterable, groupCallback) to perform a grouping or bucketing operation. The Object method returns a plain object, where the groups are property keys. The Map method returns a Map, where the keys can be arbitrary values."
}