12 lines
231 B
JavaScript
12 lines
231 B
JavaScript
|
function defineProperty(object, name, value) {
|
||
|
Object.defineProperty(object, name, {
|
||
|
enumerable: true,
|
||
|
value: value,
|
||
|
writable: false,
|
||
|
});
|
||
|
}
|
||
|
|
||
|
module.exports = {
|
||
|
defineProperty: defineProperty,
|
||
|
};
|