Skip to content

Commit 0d41e40

Browse files
authored
Merge pull request #25 from ocanty/master
Update README to fix diff typo
2 parents 5e1c78c + c84c1c0 commit 0d41e40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ Return whether the two objects have equal value. This is used to determine if an
285285

286286
```js
287287
const diff(objectA, objectB){
288-
return objectA === objectB; // immutable creates new objects for each operation
288+
return objectA !== objectB; // immutable creates new objects for each operation
289289
}
290290
```
291291

0 commit comments

Comments
 (0)