Created
August 6, 2018 00:56
-
-
Save kbk0125/764f65fdc3433f2e6bceb7a4356a19d7 to your computer and use it in GitHub Desktop.
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
let box1= ["juice", "sandwich", "chips", "yogurt"]; | |
let box2 = ["milk", "sandwich", "carrots", "chips"]; | |
let total = box1.concat(box2); | |
let answer = total.filter(function(item)({ | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment