Given the following JavaScript data structure - how would you describe it?
BLA = {
date : 12345678,
layers : {
bottom : "bottomLayer"
},
numbers : [5,4,2,2,4],
start : function(){}
}
I would say the following about above data structure, do you agree?
It is an object literal called
BLA.BLAis initializted with 4 object members. The first one isdatewhich value is12345678and the second one is the memberlayerswhich recursively stores an literal itself:bottom:"bottomLayer". The third member is referenced asnumberswhich holds an array with 5 values. The last member is referenced asstartand its respective value is an anomyous function.