Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120403624
readme.md
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jul 4, 03:12
Size
641 B
Mime Type
text/x-Algol68
Expires
Sun, Jul 6, 03:12 (2 d)
Engine
blob
Format
Raw Data
Handle
27183575
Attached To
R2664 SHRINE MedCo Fork
readme.md
View Options
# array-differ [](https://travis-ci.org/sindresorhus/array-differ)
> Create an array with values that are present in the first input array but not additional ones
## Install
```sh
$ npm install --save array-differ
```
## Usage
```js
var arrayDiffer = require('array-differ');
arrayDiffer([2, 3, 4], [3, 50]);
//=> [2, 4]
```
## API
### arrayDiffer(input, values, [values, ...])
Returns the new array.
#### input
Type: `array`
#### values
Type: `array`
Arrays of values to exclude.
## License
MIT © [Sindre Sorhus](http://sindresorhus.com)
Event Timeline
Log In to Comment