The Startup
Published in

The Startup

JavaScript Algorithm: Sorted Union

We write a function that will return an array of unique values taken from two or more other arrays.

We write a function called uniteUnique that will accept one required argument which is an array (arr). There will be at least one or more additional array arguments.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store