Skip to content

Commit ff1b5da

Browse files
erikvoldkeithamus
authored andcommitted
docs: add require statement to the README example (#36)
* Add require statement to the README.md * typo fix
1 parent 145dd26 commit ff1b5da

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ As an example, take the following:
7979
{ a: 1 } !== { a: 1 } // These are two different objects, they hold different references and so are not strictly equal - even though they hold the same values inside
8080
{ a: 1 } != { a: 1 } // They have the same type, meaning loose equality performs the same check as strict equality - they are still not equal.
8181

82+
var deepEql = require("deep-eql");
8283
deepEql({ a: 1 }, { a: 1 }) === true // deepEql can determine that they share the same keys and those keys share the same values, therefore they are deeply equal!
8384
```
8485

0 commit comments

Comments
 (0)