Practical 3
Practical 3
Code
<html>
<head><title>4. Atharva Wadekar</title> </head>
<body>
<script language="javascript" type="text/javascript">
</script>
</body>
</html>
Output
2. Code
<html>
<head><title>4. Atharva Wadekar</title> </head>
<body>
<script language="javascript" type="text/javascript">
</script>
</body>
</html>
Output
3. Code
<html>
<head><title>4. Atharva Wadekar</title> </head>
<body>
<script language="javascript" type="text/javascript">
array.sort(function(a,b){return a-b});
document.write("Ascending Array: " + array + "<br><br>");
</script>
</body>
</html>
Output