Is there a way to return the difference between two arrays in JavaScript? 有没有办法返回JavaScript中两个数组之间的差? 数组
For example: 例如: ide
var a1 = ['a', 'b']; var a2 = ['a', 'b', 'c', 'd']; // need ["c", "d"]