Sha256: 1b86ceee81d3cd586da446124d4da739d471e8cbc38de0cb53221ee0755aabdd

Contents?: true

Size: 298 Bytes

Versions: 46

Compression:

Stored size: 298 Bytes

Contents

"use strict";

var value    = require("../../object/valid-value")
  , contains = require("./contains")
  , filter   = Array.prototype.filter;

module.exports = function (other) {
	value(this);
	value(other);
	return filter.call(this, function (item) {
		return !contains.call(other, item);
	});
};

Version data entries

46 entries across 46 versions & 3 rubygems

Version Path
govuk_publishing_components-18.0.0 node_modules/es5-ext/array/#/diff.js
govuk_publishing_components-17.21.0 node_modules/es5-ext/array/#/diff.js
govuk_publishing_components-17.20.0 node_modules/es5-ext/array/#/diff.js
govuk_publishing_components-17.19.1 node_modules/es5-ext/array/#/diff.js
govuk_publishing_components-17.19.0 node_modules/es5-ext/array/#/diff.js
govuk_publishing_components-17.18.0 node_modules/es5-ext/array/#/diff.js
govuk_publishing_components-17.17.0 node_modules/es5-ext/array/#/diff.js
govuk_publishing_components-17.16.0 node_modules/es5-ext/array/#/diff.js
govuk_publishing_components-17.15.0 node_modules/es5-ext/array/#/diff.js
govuk_publishing_components-17.14.0 node_modules/es5-ext/array/#/diff.js
govuk_publishing_components-17.13.0 node_modules/es5-ext/array/#/diff.js
govuk_publishing_components-17.12.2 node_modules/es5-ext/array/#/diff.js
govuk_publishing_components-17.12.1 node_modules/es5-ext/array/#/diff.js
govuk_publishing_components-17.12.0 node_modules/es5-ext/array/#/diff.js
govuk_publishing_components-17.11.0 node_modules/es5-ext/array/#/diff.js
govuk_publishing_components-17.10.0 node_modules/es5-ext/array/#/diff.js
govuk_publishing_components-17.9.0 node_modules/es5-ext/array/#/diff.js
govuk_publishing_components-17.8.0 node_modules/es5-ext/array/#/diff.js
govuk_publishing_components-17.7.0 node_modules/es5-ext/array/#/diff.js
govuk_publishing_components-17.6.1 node_modules/es5-ext/array/#/diff.js