Created
June 14, 2016 10:20
-
-
Save mytholog/d691453d44b39df47cb8330ce12e3d09 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
arr1 | |
.filter(function (x) { return arr2.indexOf(x) === -1;}) | |
.concat(arr2.filter(function (x) {return arr1.indexOf(x) === -1;})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment