Fix Invalid left-hand side in assignment

Fix Invalid left-hand side in assignment on example