This repository has been archived on 2025-07-07. You can view files and clone it, but cannot push or open issues or pull requests.
Files
eternos/frontend/node_modules/core-js-pure/modules/esnext.function.metadata.js
2025-01-13 09:33:52 +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
});
}