Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackHole1 committed May 8, 2018
1 parent 5a44aa4 commit e8e4827
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Expand Up @@ -64,6 +64,21 @@ function likeArr () {
likeArr(1, 2, 3) // => true
```

Depth judgment
```javascript
let arrEquals = require('@black_hole/array-equals')

let arr1 = [1, {
'a': 1,
'b': ['x', null, -0]
}]
let arr2 = [1, {
'a': 1,
'b': ['x', null, 0]
}]
let result = arrEquals(arr1, arr2) // => false
```

## Contributing

| **Commits** | **Contributor** |
Expand Down

0 comments on commit e8e4827

Please sign in to comment.