marijnh / Eloquent-JavaScript

The sources for the Eloquent JavaScript book
https://eloquentjavascript.net
3.01k stars 795 forks source link

Make comparison by identity clearer #420

Closed fenekku closed 6 years ago

fenekku commented 6 years ago

The section with an {{index [object, identity], identity, memory, mutability}} wasn't explicitly using the word identity in the explanation which made later references to "identity" confusing to me. I added in a sentence about that and also clarified that both === and == did identity comparisons in the exercise. See issue #418.

Hope that helps other readers.

marijnh commented 6 years ago

I've applied attached patch instead.