I have this object
var containers = {
1: [],
2: [],
3: [],
4: [],
5: []
};
and this object only works, if I will have 5 containers. Is it possible to have something like this
var domContainers = $(".container");
var containers = {};
for(var i = 1; i < domContainers.length; i++){
// add a new property to the object
// i: []
}