给对象新增一个“不可枚举”的成员 const def = function def(obj, key, value) { Object.defineProperty(obj, key, { value, writable: true, configurable: true, enumerable: false })}