UNPKG

es-aggregate-error

Version:

ES Proposal spec-compliant shim for AggregateError

8 lines (5 loc) 191 B
'use strict'; var implementation = require('./implementation'); module.exports = function getPolyfill() { return typeof AggregateError === 'function' ? AggregateError : implementation; };