Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

194
Vistas
How can I use returned values from inner function inside the parameters as the new parameters for the outer function in javascript

I want to use the returned value of the inside function as the new parameter for the outer function.

This is what I had in mind. I wanted to see if i can manipulate values without declaring a variable.

Object.keys(data).map( ( item = (item) => data[item]) , index) => (
   <>
      something in here
   </>
));

Inside function here is (items)=> data[item] which returns a new value for parameter as data[item] and outer function is the function inside map ie

( item = (item) => data[item]) , index) => (
   <>
      something in here
   </>
)
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda