What is the output of below Javascript function?

<script type="text/javascript" language="javascript">
function get_value()
var value = Math.PI;

 Posted by vishalneeraj-24503 on 12/11/2013 | Category: JavaScript Interview questions | Views: 809 | Points: 40

Above function gives us "3.1415926".

Math is an in-built Javascript function as Dot Net have.

PI means 22/7 = 3.14;

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response