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

10 lines
384 B
JavaScript
Raw Normal View History

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