Projekt

Obecné

Profil

Stáhnout (540 Bajtů) Statistiky
| Větev: | Revize:
1 3a515b92 cagy
"use strict";
2
3
exports.__esModule = true;
4
5
var _defineProperty = require("../core-js/object/define-property");
6
7
var _defineProperty2 = _interopRequireDefault(_defineProperty);
8
9
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
11
exports.default = function (obj, key, value) {
12
  if (key in obj) {
13
    (0, _defineProperty2.default)(obj, key, {
14
      value: value,
15
      enumerable: true,
16
      configurable: true,
17
      writable: true
18
    });
19
  } else {
20
    obj[key] = value;
21
  }
22
23
  return obj;
24
};