That is for returning values of arrays (or slightly changed values). I am more talking about for errors and such Example: ```js function someThing(doWith) { return doWith.map(elem => { if (typeof elem !== "number") { super return "Not all are numbers" ; return elem * 2; }); } ``` Well, there's already .map(), .find() and .filter() for returning values from arrays -- Michael J. Ryan - [email protected] - http://tracker1.info Please excuse grammar errors and typos, as this message was sent from my phone. On Aug 28, 2017 12:30 PM, "Sebastian Malton" <[email protected]> wrote:
| ||
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

