i have this array
let array1 = [
'Carlos','Mariana','Joao']
let array2 = [
'Julia','Carla','Mateus','Max','Joao','Harry','Carlos']
//
so i want to show on console the array2 ,
like a
for(let i =0; i < array2.lentgh; i++) {
console.log(array2[i])
}
how do I display array 2 on the console (without the names that are inside array 1)
the name "carlos" is inside array1.
I want to show all the names of array2 , but with the exception of the names that are in array 1