[A playground example](https://typescripttolua.github.io/play/#code/MYewdgzgLgBAhgJwTAvDA2gRgDQwEwC6A3AFAkA2AprAJaowAMpVs6AbjjG4feoguhoFc-dAGoxQ4iQAOCGmCgAKDrm4BKUhWoY2AZjUAWAr1FCRSdAForU0nIXL9RzUA) It should print ``` 1 2 2 1 ``` But instead prints ``` 2 2 1 1 ``` Because it puts the variable incrementing and decrementing before setting the variables
A playground example
It should print
But instead prints
Because it puts the variable incrementing and decrementing before setting the variables