Last active
October 1, 2016 22:56
-
-
Save vdanchenkov/dcbf3ba0c523a218152f8dd4a1b7ea72 to your computer and use it in GitHub Desktop.
samples for wtf article
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const lodash = require('lodash') | |
const wtf = require('wtf') | |
const print = ({ result, display }) => console.log(`${result} ≈ ${display}`) | |
wtf.sync({ lodash }, | |
['apple', 'p'], true, | |
['apple', 'x'], false | |
).map(print) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment