Created
April 12, 2021 08:16
-
-
Save frivolta/4c94fe32b174a8f915f7324f826ee4c8 to your computer and use it in GitHub Desktop.
jmawd - second solution
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
const concatArr = firstArr.concat(secondArr) | |
const result = concatArr.filter((item, idx) => concatArr.indexOf(item) === idx) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment