PageSourceSearch

https://www.declawing.com/media/lib_compojoom/third/polyfills/assign.js

js declawing.com collected 2026-10-02 08:06:47 UTC 693 bytes, 24 lines download raw bytes

1if (typeof Object.assign != 'function') {
2	Object.assign = function(target, varArgs) { // .length of function is 2
3		'use strict';
4		if (target == null) { // TypeError if undefined or null
5			throw new TypeError('Cannot convert undefined or null to object');
6		}
7
8		var to = Object(target);
9
10		for (var index = 1; index < arguments.length; index++) {
11			var nextSource = arguments[index];
12
13			if (nextSource != null) { // Skip over if undefined or null
14				for (var nextKey in nextSource) {
15					// Avoid bugs when hasOwnProperty is shadowed
16					if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
17						to[nextKey] = nextSource[nextKey];
18					}
19				}
20			}
21		}
22		return to;
23	};
24}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.