If you are in the middle of developing some thing using web browsers development tool and wants to do any calculation,what will you do?
You will open calculator on your phone or laptop or you will go to google and type calculator .But there is no need to go any where when you can do almost all type of calculation in developer tool of web browser only.
There is a dedicated post on how to open developer tool in different web browsers.
Go to the console of developer Tool and start typing.It will give you result.
To do more complex things like log , square root and many more you can use ready made functions.You should always add “Math.” before any function.
Here is a example Math.sqrt(25).