function test(){ alert('Start "test"'); return test; }; test.fnc1=function (){ alert('Start "fnc1"'); }; test(); test.fnc1(); test().fnc1();