In need of assistance, please. I have two arrays apple = [1,5,10,15,20]
, bottle = [1,5,10,15,20,25]
. Using either lodash or any JavaScript function, I am attempting to create a new array called 'c' that contains only unique elements such as c= [25]
. Essentially, I want to compare the 'apple' array with the 'bottle' array and then display all the elements that are unique.