Sha256: 85377462630817b741d497ca5a842bfb30566e44b592c3a623642b01d53e33f6
Contents?: true
Size: 210 Bytes
Versions: 10
Compression:
Stored size: 210 Bytes
Contents
'use strict'; module.exports = function diff(a, b) { var len = a.length; var arr = []; for (var i = 0; i < len; i++) { if (b.indexOf(a[i]) === -1) { arr.push(a[i]); } } return arr; };
Version data entries
10 entries across 10 versions & 1 rubygems