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

9 lines
417 B
JavaScript
Raw Normal View History

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