1//pi declare pi= MATH.PI
2var pi = MATH.PI;
3//console
4console.log(pi);
5//screen
6document.write(pi);
1<html>
2 <head>
3 <title>JavaScript Math PI Property</title>
4 </head>
5
6 <body>
7 <script type = "text/javascript">
8 var property_value = Math.PI
9 document.write("Property Value is : " + property_value);
10 </script>
11 </body>
12</html>