mirror of
https://github.com/flynx/Course-JavaScript.git
synced 2025-10-28 18:40:08 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
90bc2e6e5c
commit
f62a7cf521
@ -225,9 +225,10 @@
|
||||
x == null // -> true
|
||||
y == null // -> true
|
||||
|
||||
// Strict comparisons also work but unless explicitly required they
|
||||
// should be avoided in favor of the non-strict and more flexible
|
||||
// comparisons shown above:
|
||||
// Strict comparisons also work but unless it explicitly required to
|
||||
// differentiate between null and undefined (which is either a rare case
|
||||
// or a sign of bad design) they should be avoided in favor of the
|
||||
// non-strict and more flexible comparisons shown above:
|
||||
|
||||
x === null // -> true
|
||||
y === undefined // -> true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user