Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/Schniz/wtf.
Something went wrong. Try again.
12345678910111213141516171819const lodash = require('lodash')const wtf = require('./../src')
const print = ({ result, display }) => console.log(`${result} ≈ ${display}`)
wtf.sync({ lodash }, ['apple', 'p'], true).map(print)
wtf.sync({ lodash }, [ 'c', [ 'a', 'b', 'c' ] ], 3).map(print)
wtf.sync({ lodash }, ['apple', 'p'], true, ['apple', 'x'], false).map(print)