An idiom that assigns names to arrow functions arguments:
```js let add, mul; //used to name arrow functions const sum = [1, 2, 3].reduce(add = (a, b) => a + b); const product = [1, 2, 3].reduce(mul = (a, b) => a * b); ```
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

