JavaScript Programming
JavaScript > Code Examples
'abs()' Math Function
1
2
3
4
5
6
7
8
9
10
11
12
13
'abs()' Math Function
<html>
<body>
<button onclick="alert(Math.abs(-10));">Math.abs(-10)</button>
<p>
Happy Codings :-) JavaScript Code Examples
<br>
</p>
</body>
</html>