JS Operator
↔ reserved JS Syntax to perform built-in function on Operands
Source: Expressions and operators - JavaScript | MDN
aka Operator
!
Logical NOT Operator to invert Boolean Context of operand
&&
Logical AND Operator to return first Falsy or last Truthy
=
Assignment Operator to bind Value to Identifier & save at Memory Address
??
Nullish Coalescing Operator to assign left calling Operand if !==
null
/undefined
, else assign fallback value (right Operand)
Coercion
(mechanism) to Implicit auto convert Type of Primitive Operand by JS Compiler
delete
JS Operator to remove property from Object
Destructuring
JS Syntax shorthand to extract elements from iterable & assign to Value
import()
JS Operator to Dynamically load Module via Promise
instanceof
JS Operator to return boolean
if __proto__
(of Constructor Function) exists on calling Operand's prototype chain
JS Operator only work on Primitive Value - if Operand is Object, will Coerce into Primitive
JS Operators apply Coercion to Operands so it can work with them
new
JS Operatorto call Constructor Function, assign this
keyword & link to Prototype
Operand
Variable to manipulate by JS Operator
Rest Parameter
...
JS Syntax prefix Identifier to receive Array with arb remaining args
Spread Operator
JS Operator to return comma separated list from iterable
typeof
JS Operator return string
of Operand Type
void
JS Operator to evalute Operand as Expression & return undefined
Source: void operator - JavaScript | MDN
||
Logical OR Operator to return first Truthy or last Falsy
References
Operand
↔ Variable to manipulate by JS Operatornew
↔ JS Operatorto call Constructor Function, assignthis
keyword & link to Prototype??
↔ Nullish Coalescing Operator to assign left calling Operand if!==
null
/undefined
, else assign fallback value (right Operand)+
↔ Addition Operator to convert Operand to Primitive & then add/join in either String Mode or Number Modevoid
↔ JS Operator to evalute Operand as Expression & returnundefined
typeof
↔ JS Operator returnstring
of Operand TypeSpread Operator
↔ JS Operator to return comma separated list from iterableinstanceof
↔ JS Operator to returnboolean
if__proto__
(of Constructor Function) exists on calling Operand's prototype chainimport()
↔ JS Operator to Dynamically load Module viaPromise
delete
↔ JS Operator to remove property from ObjectBitwise Assignment Operator
↔ JS Operator to Coerce Operand to 32-bit binary, compute math as bits & return asnumber
?
↔ Declarative JS Operator to assign first Truthy Operand else fallback=
↔ Assignment Operator to bind Value to Identifier & save at Memory Address!
↔ Logical NOT Operator to invert Boolean Context of operand&&
↔ Logical AND Operator to return first Falsy or last Truthy%
↔ Modulo Operator to return remainder from integer division||
↔ Logical OR Operator to return first Truthy or last Falsy