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

111
Views
Javascript power and root

simple question is there an operator for the root as for the power there's the "* *".

I tried to search but I couldn't find it, so I don't think there is, but if for any reason I didn't saw but it exist can someone please tell? thx

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

0

Use Math.sqrt(). There is no operator for it, but instead a function exists.

about 4 years ago · Juan Pablo Isaza Report

0

The root is just the power of the inverse, so you can also do:

n ** (1 / x)

Or use Math.pow:

Math.pow(n, 1 / x)
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!