2014-10-11 22:33:08 +11:00

7 lines
104 B
JavaScript

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