As each programming language is different and my experience with Javascript is on basic level, I would like to know, how multiple variable assignments in one row are evaluat
The reason it works like that is that assignment takes whatever is on the right-hand side of the equals sign and assigns that value to the variable on the left-hand side.
So 5 is assigned to d; then the value of d is assigned to c and so on.