From 291803c31f829fe0d32bb3207bc11def95a7408c Mon Sep 17 00:00:00 2001 From: Nevena Bojovic Date: Tue, 1 Mar 2022 20:05:50 +0100 Subject: Urađena test aplikacija. Povezan front i back. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Front/node_modules/lodash/pullAll.js | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 sandbox/testAppNevena/Front/node_modules/lodash/pullAll.js (limited to 'sandbox/testAppNevena/Front/node_modules/lodash/pullAll.js') diff --git a/sandbox/testAppNevena/Front/node_modules/lodash/pullAll.js b/sandbox/testAppNevena/Front/node_modules/lodash/pullAll.js new file mode 100644 index 00000000..f4605c21 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/lodash/pullAll.js @@ -0,0 +1,29 @@ +var basePullAll = require('./_basePullAll'); + +/** + * This method is like `_.pull` except that it accepts an array of values to remove. + * + * **Note:** Unlike `_.difference`, this method mutates `array`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to modify. + * @param {Array} values The values to remove. + * @returns {Array} Returns `array`. + * @example + * + * var array = ['a', 'b', 'c', 'a', 'b', 'c']; + * + * _.pullAll(array, ['a', 'c']); + * console.log(array); + * // => ['b', 'b'] + */ +function pullAll(array, values) { + return (array && array.length && values && values.length) + ? basePullAll(array, values) + : array; +} + +module.exports = pullAll; -- cgit v1.2.3