12 lines
209 B
JavaScript
12 lines
209 B
JavaScript
var Test = function () {
|
|
var Test = function Test() { };
|
|
Object.defineProperties(Test.prototype, {
|
|
test: {
|
|
set: function (val) {
|
|
this._test = val;
|
|
}
|
|
}
|
|
});
|
|
return Test;
|
|
}();
|