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

122
Views
it is showing "listarr.forEach" is not a function

I am getting this error it is showing listarr.forEach is not a function.

let newLiTag='';

listArr.forEach((element, index) =>{
  newLiTag+= `<li> ${element} <span class="check" onclick="check(${index})"> <i class="fas fa-check"></i></span>

 <span onclick = "modify(${index})"><i class="fas fa-edit"></i></span>

 <span onclick = "deleteTask(${index})"><i class="fas fa-trash"></i></span> </li>`;
});
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Please check if you have declared the variable listArr. Example:

let newLiTag='';
const listArr = []; // Add variable listArr here

listArr.forEach((element, index) =>{
    // Do things here
});
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!