Course · Section 9: Data Structures, Modern Operators and Strings · Lecture 111: The Spread Operator (...)
Implement `mergeUnique(a, b)` returning the unique values from both arrays, using spread and a Set.
+ 1 hidden test run on Submit.
Spreading both arrays and passing through a Set merges them while removing duplicates.
Run your code to see results.