Sebastian McKenzie c97696c224 first commit
2014-09-28 23:39:22 +10:00

11 lines
159 B
JavaScript

var obj = function (obj) {
Object.defineProperties(obj, {
foo: {
get: function () {
return 5 + 5;
}
}
});
return obj;
}({});