Build 545032stable
Module 757431
429 characters · in no known chunkDependencies
Source Raw
function(e,t,n){"use strict";var i=n(439619)("%Symbol.species%",!0),r=n(741623),s=n(358073),a=n(579405),o=n(605468),l=n(32561),u=n(450460),c=n(227106);e.exports=function(e,t){if(!s(t)||t<0)throw new r("Assertion failed: length must be an integer >= 0");if(!l(e))return a(t);var n=o(e,"constructor");if(i&&c(n)&&null===(n=o(n,i))&&(n=void 0),void 0===n)return a(t);if(!u(n))throw new r("C must be a constructor");return new n(t)}}