diff --git a/spec.emu b/spec.emu index b7ed270..5277c21 100644 --- a/spec.emu +++ b/spec.emu @@ -22,7 +22,7 @@ location: https://tc39.es/proposal-array-grouping/

Properties of the Array Prototype Object (22.1.3)

- +

Array.prototype.group ( _callbackfn_ [ , _thisArg_ ] )

_callbackfn_ should be a function that accepts three arguments. `group` calls _callbackfn_ once for each element in the array, in ascending order, and constructs a new object of arrays. Each value returned by _callbackfn_ is coerced to a property key, and the associated element is included in the array in the constructed object according to this property key.

@@ -58,7 +58,7 @@ location: https://tc39.es/proposal-array-grouping/
- +

Array.prototype.groupToMap ( _callbackfn_ [ , _thisArg_ ] )

_callbackfn_ should be a function that accepts three arguments. `groupToMap` calls _callbackfn_ once for each element in the array, in ascending order, and constructs a new Map of arrays. Each value returned by _callbackfn_ is used as a key in the Map, and the associated element is included in the array in the constructed Map according to this key.