You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Greater/less than or equals: <code>a >= b</code>, <code>a <= b</code>.
7
-
- Equality check is written as `a == b` (please note the double equation sign `'='`. A single symbol `a = b` would mean an assignment).
7
+
- Equality check is written as `a == b` (please note the double equation sign `=`. A single symbol `a = b` would mean an assignment).
8
8
- Not equals. In maths the notation is <code>≠</code>, in JavaScript it's written as an assignment with an exclamation sign before it: <code>a != b</code>.
9
9
10
10
[cut]
@@ -108,7 +108,7 @@ From JavaScript's standpoint that's quite normal. An equality check converts usi
108
108
109
109
## Strict equality
110
110
111
-
A regular equality check `"=="` has a problem. It cannot differ `0` from `false`:
111
+
A regular equality check `==` has a problem. It cannot differ `0` from `false`:
112
112
113
113
```js run
114
114
alert( 0==false ); // true
@@ -146,7 +146,7 @@ There's a non-intuitive behavior when `null` or `undefined` are compared with ot
146
146
147
147
148
148
For a strict equality check `===`
149
-
: These values are different, because each of them belong to a separate type of it's own.
149
+
: These values are different, because each of them belongs to a separate type of its own.
0 commit comments