Module 579405

562 characters · in 514.d733764d42c2ab66.js
Dependencies
Required by (1)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";var r=n(439619)("%Array.prototype%"),i=n(333654),a=n(870064),o=n(741623),s=n(358073),l=n(568898),u=n(528574);e.exports=function(e){if(!s(e)||e<0)throw new o("Assertion failed: `length` must be an integer Number >= 0");if(e>l)throw new i("length is greater than (2**32 - 1)");var t=arguments.length>1?arguments[1]:r,n=[];if(t!==r){if(!u)throw new a("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");u(n,t)}return 0!==e&&(n.length=e),n}}