????

Your IP : 18.222.231.86


Current Path : C:/inetpub/vhost/binhdinhinvest.gdtvietnam.com/api/node_modules/es-aggregate-error/
Upload File :
Current File : C:/inetpub/vhost/binhdinhinvest.gdtvietnam.com/api/node_modules/es-aggregate-error/index.js

'use strict';

var bind = require('function-bind');
var define = require('define-properties');
var functionsHaveConfigurableNames = require('functions-have-names').functionsHaveConfigurableNames();

var implementation = require('./implementation');
var getPolyfill = require('./polyfill');
var shim = require('./shim');

var polyfill = getPolyfill();
var bound = bind.call(polyfill);
if (Object.defineProperty) {
	if (functionsHaveConfigurableNames) {
		Object.defineProperty(bound, 'name', { value: polyfill.name });
	}
	Object.defineProperty(bound, 'prototype', { value: polyfill.prototype });
}

define(bound, {
	getPolyfill: getPolyfill,
	implementation: implementation,
	shim: shim
});

module.exports = bound;