Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

184
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!