Used JavaScript
How I managed two arrays without using concat(),spread operator and Set()