var View = { about: { say: function() { return 'about'; } }, contacts: { say: function() { alert(View.about.say()); } } }; View.contacts.say();