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