How To Prove String Concatenation Is Associative. Remember that the + operator is left associative, so it puts brackets from left to right. This is what string concatenation looks like in javascript:
That’s not associative, but it’s still commutative. In the first case you can write $x=\left(a\prod_{k\in[1,n−1]}b_k\right)b_n$, since concatenation is associative. Combining strings if you wish.
Continue reading “How To Prove String Concatenation Is Associative”