|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
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.