Projekt

Obecné

Profil

Stáhnout (537 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, descs) {
12
  for (var key in descs) {
13
    var desc = descs[key];
14
    desc.configurable = desc.enumerable = true;
15
    if ("value" in desc) desc.writable = true;
16
    (0, _defineProperty2.default)(obj, key, desc);
17
  }
18
19
  return obj;
20
};