[Solved] I get an invalid left hand side in assignment with my code [closed]


parseInt(number, 10)= b;

So you are saying to assigning b to parseInt. You have it reversed.

var b = parseInt(number, 10)

You have the problem in multiple places.

solved I get an invalid left hand side in assignment with my code [closed]