I've seen this structure lately, in the javascript, I've tried to search for it but I have not been able to find concrete answers. I know it's an object, I think, but I'm a beginner and I do not understand how it works. Mainly the beginning -var PROD {}; ??.
var PROD = {};
PROD.clients = {
init: function(){},
method1: function(){}
};
PROD.pages = {
init: function(){},
method1: function(){}
};
PROD.accounts = {
init: function(){},
method1: function(){}
};