HEX
Server: Apache
System: Linux pdx1-shared-a1-29 6.18.39-grsec-noble+ #4 SMP Thu Jul 23 07:53:29 UTC 2026 x86_64
User: dh_bj99yp (22285841)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: //usr/share/nodejs/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;
};