securityos/node_modules/core-js/library/modules/es7.reflect.get-own-metadat...

9 lines
364 B
JavaScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
var metadata = require('./_metadata');
var anObject = require('./_an-object');
var ordinaryOwnMetadataKeys = metadata.keys;
var toMetaKey = metadata.key;
metadata.exp({ getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) {
return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));
} });