Programming languages make promises about their behaviour, as long as you only rely on those promises in your code, your program will run.
But if you write something that languages do not promise to support, then what'll happen instead is that the code can't be executed, because there's nothing to support what you wrote.
Therefore you have to take care to only write things that make sense in the language.
I believe your code will result in an error message complaining about an unexpected = operator. It doesn't make sense there. Reconsider what you were doing and find out how to do that.