var obj = function (_obj) { _obj[foobar] = function () { return "foobar"; }; return _obj; }({});