Invalid left hand side of assignment operator = (char 22) notion code example
Example: invalid left-hand side in assignment
// invalid left-hand side in assignment
// here "=" is used as the assign the operator to assign John to name
var name = "John"
// here "=" is used for comparison, but it should be "==" or "==="
if(name = "John" || name = "David"){
}