I did not find the syntax to do this.
Some unsuccessful attempts:
TILESETS[actualTileSetNO].tiles
One inconvenient but working way:
//access an object which is a specific row of the array
let x=TILESETS[actualTileSetNO];
//access the array that is within the object
let y=x.tiles;
__ update: My syntax was good, but I think the property was not existing yet (loaded by a promise). It works if I do:
if (typeof(state.TILESETS[state.actualTileSetNO]) !=='undefined') {
return state.TILESETS[state.actualTileSetNO].tls}
else {return null}
I do not see a way to close the case or flag it as an answer.