polyfills.Object.defineProperties.raw.js Maven / Gradle / Ivy
The newest version!
// Object.defineProperties
Object.defineProperties = function defineProperties(object, descriptors) {
for (var property in descriptors) {
Object.defineProperty(object, property, descriptors[property]);
}
return object;
};