Skip to content

Instantly share code, notes, and snippets.

@kbk0125
Created August 6, 2018 00:56
Show Gist options
  • Save kbk0125/764f65fdc3433f2e6bceb7a4356a19d7 to your computer and use it in GitHub Desktop.
Save kbk0125/764f65fdc3433f2e6bceb7a4356a19d7 to your computer and use it in GitHub Desktop.
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