Created
June 11, 2013 22:35
-
-
Save doowb/5761378 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var helperList = ['a', 'b', 'c', 'd', 'e']; | |
var documentedList = ['a', 'c']; | |
var undocumentedList = []; | |
helperList.forEach(function(helper) { | |
if(_.contains(documentedList, helper) === false) { | |
undocumentedList.push(helper); | |
} | |
}); | |
console.log(undocumentedList); |
jonschlinkert
commented
Jun 11, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment