Skip to content

Commit 0febfd7

Browse files
committed
Fix grammar.
1 parent b67eece commit 0febfd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/en/types/equality.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ the operands are of different types.
5151
### Comparing Objects
5252

5353
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`.
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
6363
will compare for the same **instance** of the object, much like `is` in Python
6464
and pointer comparison in C.
6565

0 commit comments

Comments
 (0)