When updating a variable, there shouldn't be a var word on the right side.

How could we fix it?

To fix this code we should add windows = worst; to your code.