| if (!Int32Array.__proto__.from) { |
| Object.defineProperty(Int32Array.__proto__, 'from', { |
| var typed_array = new this(obj.length); |
| for(var i = 0; i < typed_array.length; i++) { |
| if (!Array.prototype.copyWithin) { |
| Array.prototype.copyWithin = function(target, start, end) { |
| var len = O.length >>> 0; |
| var count = Math.min(Math.min(end | 0, len) - from, len - to); |
| if (from < to && to < (from + count)) { |
| if (!Array.prototype.fill) { |
| Object.defineProperty(Array.prototype, 'fill', { |
| value: function(value, start, end) { |
| if (!Int8Array.prototype.copyWithin) { |
| Int8Array.prototype.copyWithin = Array.prototype.copyWithin; |
| if (!Int8Array.prototype.fill) { |
| Int8Array.prototype.fill = Array.prototype.fill; |
| if (!Int32Array.prototype.fill) { |
| Int32Array.prototype.fill = Array.prototype.fill; |