Timeline for How to merge two arrays in JavaScript and de-duplicate items
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 4, 2019 at 7:54 | comment | added | makkasi | I used return Array.from(set.values()); , because vscode gives error for return [...set]; | |
Jun 11, 2018 at 18:52 | comment | added | Antony |
Why use arr.map here? You're using it as a foreach , as the result is ignored
|
|
Jun 5, 2018 at 3:10 | history | edited | DevWL | CC BY-SA 4.0 |
edited body
|
Jun 5, 2018 at 3:03 | history | edited | DevWL | CC BY-SA 4.0 |
added 97 characters in body
|
Jun 5, 2018 at 2:46 | history | answered | DevWL | CC BY-SA 4.0 |