source: imaps-frontend/node_modules/core-js/modules/esnext.reflect.get-own-metadata-keys.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

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