wallet-core/node_modules/core-js/modules/es7.reflect.get-own-metadata-keys.js

8 lines
400 B
JavaScript
Raw Normal View History

2016-10-10 03:43:44 +02:00
var metadata = require('./_metadata')
, anObject = require('./_an-object')
, ordinaryOwnMetadataKeys = metadata.keys
, toMetaKey = metadata.key;
metadata.exp({getOwnMetadataKeys: function getOwnMetadataKeys(target /*, targetKey */){
return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));
}});