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

138
Views
JavaScript variable in string load values to it directly
arrived at 
array[0]test1 = 2
array[0]test3 = 35
array[0]test5 = 10 

I have formula in string coming from DB as string 
i.e. "array[0]test1 + array[0]test3 * array[0]test5" it in in formulaFromDB variable

 

    formulaFromDB = array[0]test1 + array[0]test3 * array[0]test5

is there any way to get result i.e. 352 in js directly. like any way to load values and get math done

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!