➕assignment (=)
JS ⟩ operator ⟩ assignment ⟩ =
is ignored and won't trigger any error, even in strict mode❗
⭐️ the assignment (=) part is applied❗
⭐️ assignment (=) to an undeclared identifier will result in
dot notation (.) / bracket notation [] - assignment of a property
JavaScript: The Definitive Guide ⟩ 4.11 Assignment Expressions
Last updated
Was this helpful?