'use strict';
/**
* Returns the difference between two arrays.
* Create a Set from b, then use Array.prototype.
* Filter() on a to only keep values not contained in b.
*/functiondifference(a, b) {
var s = newSet(b);
return a.filter(x => !s.has(x));
}
module.exports = difference;