first
This commit is contained in:
14
node_modules/core-js/modules/esnext.function.metadata.js
generated
vendored
Normal file
14
node_modules/core-js/modules/esnext.function.metadata.js
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
'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
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user