mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-03 20:30:04 +02:00
9 lines
271 B
JavaScript
9 lines
271 B
JavaScript
'use strict';
|
|
var $defineProperty = require('./_object-dp');
|
|
var createDesc = require('./_property-desc');
|
|
|
|
module.exports = function (object, index, value) {
|
|
if (index in object) $defineProperty.f(object, index, createDesc(0, value));
|
|
else object[index] = value;
|
|
};
|