File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,15 +51,15 @@ the operands are of different types.
51
51
### Comparing Objects
52
52
53
53
While both ` == ` and ` === ` are stated as ** equality** operators, they behave
54
- different when at least one of their operands happens to be an ` Object ` .
54
+ differently when at least one of their operands happens to be an ` Object ` .
55
55
56
56
{} === {}; // false
57
57
new String('foo') === 'foo'; // false
58
58
new Number(10) === 10; // false
59
59
var foo = {};
60
60
foo === foo; // true
61
61
62
- Here both operators compare for ** identity** and ** not** equality; that is, they
62
+ Here, both operators compare for ** identity** and ** not** equality; that is, they
63
63
will compare for the same ** instance** of the object, much like ` is ` in Python
64
64
and pointer comparison in C.
65
65
You can’t perform that action at this time.
0 commit comments