wallet-core/node_modules/core-js/modules/es7.reflect.define-metadata.js

8 lines
406 B
JavaScript
Raw Normal View History

2017-05-28 00:38:50 +02:00
var metadata = require('./_metadata')
, anObject = require('./_an-object')
, toMetaKey = metadata.key
, ordinaryDefineOwnMetadata = metadata.set;
metadata.exp({defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey){
ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey));
}});