tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-08-04 16:03:49 +03:00
parent 0cdd291043
commit 90bc2e6e5c

View File

@ -226,7 +226,8 @@
y == null // -> true y == null // -> true
// Strict comparisons also work but unless explicitly required they // Strict comparisons also work but unless explicitly required they
// should be avoided in favor of the non-strict comparison shown above: // should be avoided in favor of the non-strict and more flexible
// comparisons shown above:
x === null // -> true x === null // -> true
y === undefined // -> true y === undefined // -> true
@ -264,7 +265,7 @@
{} instanceof Object // -> true {} instanceof Object // -> true
// //
// this essentially checks if the left oprtand is related to (i.e. in the // this essentially checks if the left operand is related to (i.e. in the
// inheritance chain of) the second operand's .prototype, or we can say // inheritance chain of) the second operand's .prototype, or we can say
// that it id "inherited" from the constructor. // that it id "inherited" from the constructor.
// //