13 lines
417 B
JavaScript
13 lines
417 B
JavaScript
|
var $Object = Object;
|
||
|
module.exports = {
|
||
|
create: $Object.create,
|
||
|
getProto: $Object.getPrototypeOf,
|
||
|
isEnum: {}.propertyIsEnumerable,
|
||
|
getDesc: $Object.getOwnPropertyDescriptor,
|
||
|
setDesc: $Object.defineProperty,
|
||
|
setDescs: $Object.defineProperties,
|
||
|
getKeys: $Object.keys,
|
||
|
getNames: $Object.getOwnPropertyNames,
|
||
|
getSymbols: $Object.getOwnPropertySymbols,
|
||
|
each: [].forEach
|
||
|
};
|