Vertaling van "a function as a parameter" in Spaans
We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
una función como parámetro
otra función como parámetro
Like any other value, you should be able to pass a function as a parameter to another function and return it f-, as a result from a function.
Como cualquier otro valor, usted debe poder pasar una función como parámetro a otra función y regresar f-, como un el resultado de una función.
For example, you can pass a function as a parameter to another function or adapt a general function to your specific needs by hardcoding some of the parameter values.
Por ejemplo, puede pasar una función como parámetro a otra función o adaptar una función general a sus necesidades específicas mediante la codificación de algunos de los valores de los parámetros.
In Golang by default passing an array to a function as a parameter passes the copy of the array, which can be slow if the array is large.
En Golang por defecto al pasar un arreglo a una función como parámetro se pasa la copia del arreglo, lo que puede significar lentitud si el arreglo es grande.
The function circleOperation() is a typical example of a higher-order function that accepts a function as a parameter.
La función circleOperation() es un ejemplo típico de una función de orden más alto que acepta una función como parámetro.
We can, as we just did, pass a function as a parameter to another function by its name.
Nosotros podemos, tal como lo hicimos, pasar una función por su nombre como parámetro a otra función.
A function can return another function, it can take a function as a parameter, and it can even be constructed by composing functions.
Una función puede devolver otra función, puede tomar otra función como parámetro y puede ser construida componiendo funciones.
An array passed into a function as a parameter can be modified within that function and the results will remain after the function returns.
Un array pasado a una función en forma de un parámetro puede ser modificado dentro de esta función, y el resultado permanecerá después que la función retorne y concluya.
Specifying a function as a parameter
Especificando una función con un parámetro
A function can return another function, it can take a function as a parameter, and it can even be constructed by composing functions.<br/> This offers a stronger "glue" to combine the modules of your program.
Una función puede devolver otra función, puede tomar otra función como parámetro y puede ser construida componiendo funciones. Esto ofrece una "cola" más fuerte para combinar los módulos de tu programa.
But we don't have to take this indirection of first defining, then passing it - we can define and pass a function as a parameter to another function in-place
Pero no estamos obligados a tener que definir la función primero y luego pasarla. Podemos también definir y pasar la función como un parámetro a otra función todo al mismo tiempo
For now, let's just accept that in JavaScript, we can pass a function as a parameter when calling another function.
Por ahora, aceptemos que en JavaScript, nosotros podemos pasar una función como un parámetro cuando llamamos a otra función.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.