I'm modifying a Javascript library which was written by a third party. The code does work for the most part. There are no syntax errors. It will be nearly impossible to ask the author about the code.
I came across this construct, and cannot understand what the programmer intended.
pages[uuid, elIndex] = 12;
Inspecting with Chrome devtools, I see that page is an object. uuid is a string and elIndex is a number.
I can't understand what's intended here with the comma between multiple object properties. Is this some very obscure Javascript syntax? What is meant by accessing "multiple properties" like this?