Reversing Values Using Java Script.

Santosh4u
Posted by Santosh4u under JavaScript category on | Views : 1481
<script type="text/javascript">
var scripts = new Array();
scripts[0] = "C#.NET";
scripts[1] = "VB.NET";
scripts[2] = "JAVA SCRIPT";
scripts[3] = "HTML";
scripts[4] = "AJAX";
scripts[5] = "SILVER LIGHT";
document.write("<B><I><U>BEFORE REVERSE</U></I></B>");
document.write("<br>")
document.write(scripts.join(" <br> "));
document.write("<br>")
document.write("<B><I><U>AFTER REVERSE</U></I></B>");
document.write("<br>")
scripts.reverse();
document.write(scripts.join(" <br> "));
</script>

Regards
Santosh

Comments or Responses

Login to post response