HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ubuntu-s-2vcpu-4gb-nyc3-01 6.8.0-90-generic #91-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 18 14:14:30 UTC 2025 x86_64
User: www-data (33)
PHP: 8.3.7
Disabled: NONE
Upload Files
File: //usr/share/node_modules/array.prototype.every/polyfill.js
var implementation = require('./implementation');

module.exports = function getPolyfill() {
	if (typeof Array.prototype.every === 'function') {
		var hasPrimitiveContextInStrict = [1].every(function () {
			'use strict';

			return typeof this === 'string' && this === 'x';
		}, 'x');
		if (hasPrimitiveContextInStrict) {
			return Array.prototype.every;
		}
	}
	return implementation;
};