var object = { foo: function () { }, bar: function () { } }; object.bar(); object.foo();