I need to do something like this:
var Layers = {
TL: null,
TM: null,
TT: null,
MF: null,
BT: null,
BM: null,
BL: null};
Layers.(file.layer) = file.id;
Where file.layer, is actually the ‘key’ to set file.id, inside Layers…
So, is there a way, or it can only be done using arrays?
…