source: trip-planner-front/node_modules/core-js/modules/esnext.reflect.get-own-metadata-keys.js@ 571e0df

Last change on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 630 bytes
Line 
1var $ = require('../internals/export');
2var ReflectMetadataModule = require('../internals/reflect-metadata');
3var anObject = require('../internals/an-object');
4
5var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys;
6var toMetadataKey = ReflectMetadataModule.toKey;
7
8// `Reflect.getOwnMetadataKeys` method
9// https://github.com/rbuckton/reflect-metadata
10$({ target: 'Reflect', stat: true }, {
11 getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) {
12 var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]);
13 return ordinaryOwnMetadataKeys(anObject(target), targetKey);
14 }
15});
Note: See TracBrowser for help on using the repository browser.