This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
Create an array excluding provided value. /** * arrayWithout * @param {array} array - original array * @param {array} without - collection to omit * @example * arrayWithout(['a','b','c'], ['a','b','c']); // ['a'] */ function arrayWithout(a, w) { /* * Allows extension of prototype. * @example * Array.prototype.without = arrayWithout; * ['a','b','c'].without(['a','b','c']); // ['a'] */ if ( Array…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.