I need to return the element of first array NOT present in the second, return empty array if both are present in second array
arr1 = [' name', 'email']
arr2 = [ 'name', 'card_number', 'role', 'age' ]
expect to return ['email'] in this example
tried to use filter but didn't succeed.
anyone can help, please?