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