Véase también Ejemplo El siguiente código crea un objeto Array letters y llena la matriz con los elementos a, b y c utilizando el método push().
The following code creates an empty Array object letters and then populates the array with the elements a, b, and c using the push() method.
El método apply() invoca una determinada función asignando explícitamente el objeto this y un array o similar (array like object) como parámetros (argumentos) para dicha función.
The apply() method calls a function with a given this value and arguments provided as an array (or an array-like object).
var Esta función puede contener un comando simple (por ejemplo, una sentencia trace()) o una operación más compleja y se invoca con tres argumentos; el valor de un elemento, el índice de un elemento y el objeto Array
This function can contain a simple command (for example, a trace() statement) or a more complex operation, and is invoked with three arguments; the value of an item, the index of an item, and the Array object
Los métodos finder siempre reciben un objeto Query Builder y un array de opciones como parámetros.
Finder methods always get a Query Builder object and an array of options as parameters.
El siguiente código toma un array de objetos y crea un nuevo arrary que contiene los nuevos objetos con su nuevo formato.
The following code takes an array of objects and creates a new array containing the newly reformatted objects.
La función devuelve un array de objetos o un error.
The function returns an array of objects or an error.
El método main debe aceptar un array de objetos tipo String.
The main method must accept an array of String objects.
Devuelve un array de objetos que describen una cabecera de mensaje cada uno.
Returns an array of objects describing one message header each.
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.