main
Last change
on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
450 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 | var wellKnownSymbol = require('../internals/well-known-symbol');
|
---|
3 | var defineProperty = require('../internals/object-define-property').f;
|
---|
4 |
|
---|
5 | var METADATA = wellKnownSymbol('metadata');
|
---|
6 | var FunctionPrototype = Function.prototype;
|
---|
7 |
|
---|
8 | // Function.prototype[@@metadata]
|
---|
9 | // https://github.com/tc39/proposal-decorator-metadata
|
---|
10 | if (FunctionPrototype[METADATA] === undefined) {
|
---|
11 | defineProperty(FunctionPrototype, METADATA, {
|
---|
12 | value: null
|
---|
13 | });
|
---|
14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.