Friday, March 6, 2015

Magic code in JavaScript without looping




<html>
<head>
</head>
<body>

<script type="text/javascript">
function doFirst(){
  document.write(" magic! ");
  doSecond();
}
function doSecond(){
  document.write(" work! ");
  doFirst();
}
    
doFirst();
 
</script>
</body>
</html>

Share this

0 Comment to "Magic code in JavaScript without looping"

Post a Comment