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