Comparing version 1.0.1 to 1.0.2
13
index.js
@@ -13,10 +13,11 @@ | ||
a.map(function(v) { | ||
o_a[v] = v; | ||
}) | ||
for (var i = 0; i < a.length; i += 1) { | ||
o_a[a[i]] = a[i]; | ||
} | ||
b.map(function(v) { | ||
o_b[v] = v; | ||
}); | ||
for (var i = 0; i < b.length; i += 1) { | ||
o_b[b[i]] = b[i]; | ||
} | ||
var result = []; | ||
@@ -23,0 +24,0 @@ for (var key in o_b) { |
{ | ||
"name": "difference", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Calculate the difference of two arrays", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4080