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

137
Views
I need help for this error : Uncaught SyntaxError: missing ) after argument list

Hi i'm trying to take some information from a python list of dictionaries and put them into javascript variables. But i keep getting this error at line 5. Can you help me ? Here's the code :

    const i = [];
    const j = [];
    const total = [0];
    {% for item in dic %}
        i.push( {{ item.phase }} );
        if ({{ item.phase }} == 'Full Moon'){
            m.push([{{ item.number }},0])
            total.push({{ item.number }})
        };
        else {
            m.push([0,{{ item.number }}])
            total[0]+={{ item.number }}
        };
    {% endfor %}
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!