I have two arrays that have overlapping elements. I would like to make a third array that only has the unique elements.
I can concatenate them using Array1.concat(Array2), but this of course just puts them together. I suspect the answer is finding the duplicates in this array and zapping them...
I have a long article with a number of subheadings that I wish to display on the web. I have put this article in a table with the table of contents—the sub heads—in a column on the left to act as a navigator. Of course, when one scrolls down the article one loses sight of the navigator.
I know...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.