main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
400 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 | var DESCRIPTORS = require('../internals/descriptors');
|
---|
3 | var definePropertyModule = require('../internals/object-define-property');
|
---|
4 | var createPropertyDescriptor = require('../internals/create-property-descriptor');
|
---|
5 |
|
---|
6 | module.exports = function (object, key, value) {
|
---|
7 | if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
|
---|
8 | else object[key] = value;
|
---|
9 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.