var _this = this; var obj = function (_obj) { _obj["x" + _this.foo] = "heh"; return _obj; }({});