Hi what is wrong with my code?
**Your code so far**
function diffArray(arr1, arr2) {
// store items that are not repeated
var newArr = [];
// loop through arr1
for (let i = 0; i < arr1.length; i++) {
// if arr2 doesn't innclude arr1[i]
if (!arr2.includes(arr1[i]));
//push arr1 to newArr
newArr.push(arr1[i]);
}
return newArr;
}
console.log(diffArray(["diorite", "andesite", "grass", "dirt", "pink wool", "dead shrub"], ["diorite", "andesite", "grass", "dirt", "dead shrub"]));
**Your browser information:**
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36
.
Challenge: Diff Two Arrays
Link to the challenge: