An operation *
is associative iff (A*B)*C = A*(B*C)
. For *
the access operation on associative arrays, it is not associative:
Consider an associative array, represented as a json:
A = { B: { C: D } }
We have: (A.B).C = D
But: A.(B.C) is undefined
I have also tried other operations like add etc. Nothing is associative.
(Wikipedia doesn't offer an answer in case you wanted to try ;)