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

124
Views
I have muliple arrays of single object with multiple values and i want to get these values and display them

I,m having an issue in getting object with multiple arrays. How can i get multiple array of single object.

enter image description here

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

You can use console.table() to your table. You can declare a variable named as cardDatas. Then you can use console.table(cardDatas). Please consider to share the code by enclosing the full code in ``? Then I can provide the output for you.

about 4 years ago · Juan Pablo Isaza Report

0

If the data is consistent, you can create a new array, for loop throw your initial array and push your elements.

Something like this.

const data = [
    {
        cardData: [
            {
                title: "a",
            },
        ],
    },
    {
        cardData: [
            {
                title: "b",
            },
        ],
    },
];

let cardData = [];

for (const elm of data) {
  cardData.push(elm.cardData[0]);
}

console.log(`cardData`, cardData);

about 4 years ago · Juan Pablo Isaza Report
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!