In cases when there is only one argument passed to the Array constructor and when that argument is a Number, the constructor will return a new sparse array with the length property set to the value of the argument.
En casos cuando solo hay un argumento pasado al constructor del Array, y que el argumento es un Número, el contructor devolverá un array disperso con la propiedad length establecida al valor del argumento.
The TypedArray[@species] accessor property returns the constructor of a typed array.
Compatibilidad con navegadores Ver también La propiedad de acceso ArrayBuffer[@species] devuelve el constructor ArrayBuffer.
The array type constructor is traversable, which means that there is a function
If we picked m to be the Array type constructor, then every step of the fold would be allowed to return zero or more results, and the fold would proceed to the next step independently for each result.
Si m fuese el constructor de tipo Array, cada paso del pliegue podría devolver cero o más resultados, y el pliegue continuaría con el siguiente paso independientemente para cada resultado.
The species property returns the default constructor function, which is one of the typed array constructors for a given typed array object
Note: If only a single numeric parameter is passed to the Array constructor, it is assumed to specify the array's length property.
Nota: si solo se pasa un parámetro numérico al constructor Array, se da por hecho que especifica la propiedad length de la matriz.
This can be encountered when attempting to create an array of an illegal length with the Array constructor, or when passing bad values to the numeric methods Number.toExponential(), Number.toFixed() or Number.toPrecision().
Esto puede ocurrir cuando se intenta crear un array con una longitud inválida con el constructor Array, o al pasar valores inválidos a los métodos numéricos Number.toExponential(), Number.toFixed() o Number.toPrecision().
This constructor builds an array list that has the specified initial capacity.
Este constructor construye una lista de arreglo que tiene la capacidad inicial especificada.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.