Skip to content

Instantly share code, notes, and snippets.

Created November 29, 2016 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/7c1a480095e20e253ce1df3084cdb11f to your computer and use it in GitHub Desktop.
Save anonymous/7c1a480095e20e253ce1df3084cdb11f to your computer and use it in GitHub Desktop.
var getPerm = (reducedWordList) => {
var sevenLtrWords = _.filter(reducedWordList, (word) => {
return word.length == 7;
});
var fourLtrWords = _.filter(reducedWordList, (word) => {
return word.length == 4;
});
async.each(sevenLtrWords, (i, cb) => {
async.each(sevenLtrWords, (j, cb) => {
async.each(fourLtrWords, (k, cb) => {
console.log(i + " " + j + " " + k);
cb();
}, (err) => {});
cb();
}, (err) => {});
cb();
}, (err) => {});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment