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.
5151### Comparing Objects
5252
5353While 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 ` .
5555
5656 {} === {}; // false
5757 new String('foo') === 'foo'; // false
5858 new Number(10) === 10; // false
5959 var foo = {};
6060 foo === foo; // true
6161
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
6363will compare for the same ** instance** of the object, much like ` is ` in Python
6464and pointer comparison in C.
6565
You can’t perform that action at this time.
0 commit comments