Cada objeto del array indica que se ha reemplazado un atributo y especifica su nuevo valor.
Each object in the array indicates that an attribute has been replaced, and its new value is specified.
reduceRight() - ejecuta una función en cada objeto del array y colecciona los resultados de llamadas previas, pero en orden inverso.
reduceRight() - runs a function on every item in the array and collects the results from previous calls, but in reverse.
El próximo paso será ocultar o mostrar los botones Eliminar y Completar dependiendo del valor de la propiedad completado de cada objeto del array.
The next step is hiding or showing the Delete and Finish buttons depending on the finished property value of each object in the array.
Alte rezultate
Si el programa lo que quiere es que todos los objetos del array se muevan hacia abajo, tal como lo hace la nieve, expandir el bucle for creado arriba, provocará que aumente el valor de la coordenada y
If the program is to have all the objects in the array move down, like snow, then expanding the for loop created above will cause the y coordinate to increase
Crea una nueva instancia de un array con misma cantidad de elementos, cada uno de sus elementos son nuevas referencias a copias fieles de los objetos del array original. Retorna Array<T
It creates a new instance of an array with the same number of elements. Each element is a new reference to true copies of the objects of the original array. Return
El método unshift inserta los valores proporcionados al inicio de un objeto del tipo array.
The unshift method inserts the given values to the beginning of an array-like object.
Hay que tomar nota, sin embargo, que durante swap, el iterador continuará apuntando al objeto del mismo array, y por consecuente cambiará su valor.
One should take note, however, that during swap, the iterator will continue to point to the same array element, and will thus change its value.
Atributos Cada elemento del array objeto de objetos es un objeto que puede contener uno o más atributos que definirán el contenido de la celda y la visualización de datos (ver el ejemplo anterior).
Attributes Each element of the object array is an object that can contain one or more attributes that will define the cell contents and data display (see example above).
Aquí está una lista de las propiedades del objeto Array junto con su descripción.
Here is a list of the properties of the Array object along with their description.
A diferencia del for que es una instrucción, el forEach es un método del objeto Array (o de su prototipo).
De hecho, el contenido de cada celda de la columna se basa en los atributos presentes en el elemento correspondiente del array de objetos.
In fact, the contents of each column cell are based on attributes found in the corresponding element of the object array.
Para los objetos Array, el método toString une el array y devuelve una cadena de caracteres que contiene cada elemento del array separado por comas.
For Array objects, the toString method joins the array and returns one string containing each array element separated by commas.
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.
Înregistrează-te pentru a accesa mai multe exemple