2022-01-08 17:05:05 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
module.exports = function getBasicPropertyDescriptor(name) {
|
|
|
|
return {
|
2024-04-22 11:47:34 +00:00
|
|
|
set: function (v) {
|
2022-01-08 17:05:05 +00:00
|
|
|
this._setProperty(name, v);
|
|
|
|
},
|
2024-04-22 11:47:34 +00:00
|
|
|
get: function () {
|
2022-01-08 17:05:05 +00:00
|
|
|
return this.getPropertyValue(name);
|
|
|
|
},
|
|
|
|
enumerable: true,
|
|
|
|
configurable: true,
|
|
|
|
};
|
|
|
|
};
|