LHS reference of variable/property/element.
JS ⟩ statement ⟩ expression ⟩ operator ⟩ term ⟩ lvalue
(expression)
variable / (object) property / (array) element that appears on the left side of an assignment.
🈯 synonyms: "assignment target"
delete expects its operand to be an lvalue, if it is not an lvalue, the operator takes no action and returns true.
lvalue can be used in for-of / for-in loop.
LHS reference
lvalue can be used in a for-of / for-in loop.
JavaScript: The Definitive Guide ⟩
4.7.1
4.13.4 The delete Operator
for...inarrow-up-right
⟩ parametersarrow-up-right (for "assignment target")
Last updated 3 years ago