I think the line below should be written differently, and the command should bug out.
$ echo $((x=2, y=3, x+y))
5
I thought the way to write this was:
$ echo $((x=2, y=3, $x+$y))
5
Both work, which now confuses me. I'm assuming I have a mis-understanding somewhere, so I will explain how I decided the first echo is wrong. The x+y is not referencing a variable, so how could bash possibly know that x and y are a variable. If you tell me it's because of the $ at the start of the expression, then you must be wrong because x and y would have been defined at $x=2 and $y=2 which would be an incorrect way to define a variable. So I have absolutely no idea how bash can know that x and y are varaibles.
Whoever marked this as duplicate, should unmark it as duplicate. It has an error in that the other post did not. It also got an answer that is far superior to the one in the linked post, and it will be far better to use the answer on my post as the de-factor for the answer to this questionvariables.