main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
478 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 | var $ = require('../internals/export');
|
---|
3 | var DESCRIPTORS = require('../internals/descriptors');
|
---|
4 | var defineProperty = require('../internals/object-define-property').f;
|
---|
5 |
|
---|
6 | // `Object.defineProperty` method
|
---|
7 | // https://tc39.es/ecma262/#sec-object.defineproperty
|
---|
8 | // eslint-disable-next-line es/no-object-defineproperty -- safe
|
---|
9 | $({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty, sham: !DESCRIPTORS }, {
|
---|
10 | defineProperty: defineProperty
|
---|
11 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.