untitled notebook

node v9.4.0
version: 1.0.0
endpointsharetweet
const _ = require('lodash/fp'); const homework = _.flow(_.countBy(v => /^./.exec(v)[0]), _.pickBy(v => v > 1), _.keys); homework([ 'Ks', 'Ad', '3h', '7c', 'Td', '9h', '7s', 'Ag']);
Loading…

no comments

    sign in to comment