Friday, October 17, 2014

Write A program to use of Type Function in javascript.


Write A program to use of Type Function in javascript.
Code : typefun.html
<html>
<body>
<script type="text/javascript">
document.write(isNaN(235));
document.write("<br>");
document.write(isNaN("hello"));
document.write("<br>");
var a=eval("130/2");
document.write(a);
document.write("<br>");
document.write(parseInt(34.40));
document.write("<br>");
document.write(parseFloat("abcd"));
document.write(parseFloat(34.30));
</script>
</body>
</html>

1 comment:

Alwin Co Daan said...

Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Front end developer learn from Javascript Training in Chennai . or learn thru Javascript Training in Chennai. Nowadays JavaScript has tons of job opportunities on various vertical industry. JavaScript Training in Chennai