Edit in JSFiddle
JavaScript
function diff(arr1, arr2) { var newArr = []; return newArr; }