Function.apply() can accept any array-like object as the arguments list, instead of only true arrays.
Function.apply() puede aceptar cualquier objeto estilo-array como lista de argumentos, en lugar de solo arrays reales.
Using the arguments object The arguments of a function are maintained in an array-like object.
Es posible invocar los argumentos de una función utilizando el objeto arguments.
Specification Returns an array-like object of all child elements which have all of the given class names.
Retorna un objecto similar a un array de los elementos hijos que tengan todos los nombres de clase indicados.
The HTMLCollection interface represents a generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list.
La interfaz HTMLCollection representa una colección genérica (objeto tipo array similar a arguments) de elementos (en orden de documento) y ofrece métodos y propiedades para seleccionarlos de la lista.
Array.from Array.from (ES2015, but shimmable) creates an array from an array-like object, optionally passing the entries through a mapping function first.
Entonces, por ejemplo, si Array.from (ES2015 +, pero se puede rellenar fácilmente) crea una matriz a partir de un objeto similar a una matriz, opcionalmente pasando las entradas a través de una función de mapeo primero.
Starting with ECMAScript 5 these arguments can be a generic array-like object instead of an array.
Desde la versión 5 de ECMAScript estos parámetros pueden estar en un objeto similar a un array en lugar de un array.
Take Array.prototype.slice, for example, which you want to use for converting an array-like object to a real array.
Tomando Array.prototype.slice, por ejemplo, el cual se desearía utilizar para convertir un objeto tipo array a un arreglo real.
Summary An Array-like object corresponding to the arguments passed to a function.
The other way (introduced in ECMAScript 5) is to treat the string as an array-like object, where individual characters correspond to a numerical index
El otro modo es tratar la cadena como un arreglo (vector), donde cada índice se corresponde con un carácter individual
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.
No results found for this meaning.
Synonyms and analogies of "array-like object" in English