Files
ETB/ETB-FrontEnd/node_modules/core-js/modules/esnext.function.metadata.js
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

15 lines
450 B
JavaScript

'use strict';
var wellKnownSymbol = require('../internals/well-known-symbol');
var defineProperty = require('../internals/object-define-property').f;
var METADATA = wellKnownSymbol('metadata');
var FunctionPrototype = Function.prototype;
// Function.prototype[@@metadata]
// https://github.com/tc39/proposal-decorator-metadata
if (FunctionPrototype[METADATA] === undefined) {
defineProperty(FunctionPrototype, METADATA, {
value: null
});
}