ethers.js/utils/properties.js

14 lines
246 B
JavaScript
Raw Normal View History

2018-01-27 01:44:54 +03:00
'use strict';
2017-02-24 22:57:46 +03:00
function defineProperty(object, name, value) {
Object.defineProperty(object, name, {
enumerable: true,
value: value,
writable: false,
});
}
module.exports = {
defineProperty: defineProperty,
};