3 ms·
If you're going ES6, why not just: import {solve} from 'logic' solve((x,y) => x === "mcbob" && y === "bob" || x === "bob" && y === "bill");
by AnkhMorporkian 10y ago
If you're going ES6, why not just:
import {solve} from 'logic'
solve((x,y) => x === "mcbob" && y === "bob" || x === "bob" && y === "bill");
- danappelxx 10y agoJust because you can use the shorthand syntax, doesn't mean you always should.