6 lines
101 B
JavaScript

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