Update article.md

Missing word / small fix.
This commit is contained in:
Ann Cascarano 2021-01-20 10:26:26 -05:00 committed by GitHub
parent 3a0b3f4e31
commit 04e2514dc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -438,7 +438,7 @@ This operator has no special treatment for arrays, it works with them as with an
Let's recall the rules:
- Two objects are equal `==` only if they're references to the same object.
- If one of arguments of `==` is an object, and the other one is a primitive, then the object gets converted to primitive, as explained in the chapter <info:object-toprimitive>.
- If one of the arguments of `==` is an object, and the other one is a primitive, then the object gets converted to primitive, as explained in the chapter <info:object-toprimitive>.
- ...With an exception of `null` and `undefined` that equal `==` each other and nothing else.
The strict comparison `===` is even simpler, as it doesn't convert types.