var obj = function (_ref) { _ref["x" + foo] = "heh"; _ref["y" + bar] = "noo"; return _ref; }({});