> Le 3 févr. 2017 à 21:05, Bob Myers <[email protected]> a écrit : > > If you're worried about short-circuiting, then > > ``` > [() => a, () => b].some(x => c === x()) > ```
Even shorter: `(_ => _ === a || _ === b )(c)` But more seriously: Now you have another issue, namely readability. —Claude _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

