math sqaure root js code example Example: how to use sqaure in js //calculate square of num in JS Math.pow(5,2); Answer = 25