13 lines
226 B
JavaScript
13 lines
226 B
JavaScript
var Test = function () {
|
|
var Test = function Test() { };
|
|
Object.defineProperties(Test.prototype, {
|
|
test: {
|
|
writable: true,
|
|
value: function () {
|
|
return 5 + 5;
|
|
}
|
|
}
|
|
});
|
|
return Test;
|
|
}();
|