I have this 2 array:
let field1 = [ 'one', 'two', 'three', 'four' ];
let field2 = [ 'one', 'three', 'six' ];
Now I want the output should be six
I am trying :
console.log( field1.filter(x => !field2.includes(x)) );
but maybe something is wrong here.