All Downloads are FREE. Search and download functionalities are using the official Maven repository.

polyfills.Object.assign.raw.js Maven / Gradle / Ivy

The newest version!

// Object.assign
Object.assign = function assign(target, source) { // eslint-disable-line no-unused-vars
	for (var index = 1, key, src; index < arguments.length; ++index) {
		src = arguments[index];

		for (key in src) {
			if (Object.prototype.hasOwnProperty.call(src, key)) {
				target[key] = src[key];
			}
		}
	}

	return target;
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy