%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/bitrix/www/bitrix/js/main/polyfill/includes/js/
Upload File :
Create Path :
Current File : /home/bitrix/www/bitrix/js/main/polyfill/includes/js/includes.js

/**
 * Array.prototype.includes polyfill
 */
(function() {
	'use strict';

	if (typeof Array.prototype.includes !== 'function')
	{
		Array.prototype.includes = function(element)
		{
			var result = this.find(function(currentElement) {
				return currentElement === element;
			});

			return result === element;
		};
	}
})();

Zerion Mini Shell 1.0