There is no difference.
The idea of placing a constant first helps protect against inadvertent assignment in a state. For example, in some languages you can say:
if (i = 42) {
...
}
i is assigned, and the condition is true. If you did not want to do this, there are no compiler errors, and it can be difficult to find.
If you instead always set the constant first:
if (42 == i) {
...
}
Then the day you accidentally do:
if (42 = i) {
...
}
, .