|
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:
288 bytes
|
| Rev | Line | |
|---|
| [9af201e] | 1 | 'use strict';
|
|---|
| 2 |
|
|---|
| 3 | /** @type {import('.')} */
|
|---|
| 4 | var $defineProperty = Object.defineProperty || false;
|
|---|
| 5 | if ($defineProperty) {
|
|---|
| 6 | try {
|
|---|
| 7 | $defineProperty({}, 'a', { value: 1 });
|
|---|
| 8 | } catch (e) {
|
|---|
| 9 | // IE 8 has a broken defineProperty
|
|---|
| 10 | $defineProperty = false;
|
|---|
| 11 | }
|
|---|
| 12 | }
|
|---|
| 13 |
|
|---|
| 14 | module.exports = $defineProperty;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.