Skip to content

Commit

Permalink
docs(readme): add some new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
couralex committed Dec 13, 2016
1 parent e52a7b9 commit 0b58b17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@ const eq = new EqualArray({

#### `returnArray`
*accepted values: `false` (default) or `true`*

If `returnArray` is `true`, the `eq` function returns a cloned array, otherwise a unique integer. The default is `false` to maximize performances.

#### `conversion`
*accepted values: `true` (default), `false`, or a callback*

Apply a conversion to the array elements before making the comparison. This is important if the array contains objects because they are compared by references, so :
```js
new Date(1995, 10) !== new Date(1995, 10)
Expand Down

0 comments on commit 0b58b17

Please sign in to comment.