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

9 lines
364 B
JavaScript
Raw Normal View History

2017-08-14 05:01:11 +02:00
var metadata = require('./_metadata');
var anObject = require('./_an-object');
var ordinaryOwnMetadataKeys = metadata.keys;
var toMetaKey = metadata.key;
2017-05-28 00:38:50 +02:00
2017-08-14 05:01:11 +02:00
metadata.exp({ getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) {
2017-05-28 00:38:50 +02:00
return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));
2017-08-14 05:01:11 +02:00
} });