15 lines
222 B
JavaScript
15 lines
222 B
JavaScript
"use strict";
|
|
|
|
var Test = function() {
|
|
var Test = function Test() {};
|
|
|
|
Object.defineProperties(Test.prototype, {
|
|
test: {
|
|
set: function(val) {
|
|
this._test = val;
|
|
}
|
|
}
|
|
});
|
|
|
|
return Test;
|
|
}(); |