Javascript Array Reverse
<html>
<body>
<script>
var a = [3,5,7,8];
var ra = [];
for (var i = a.length-1; i>=0; i–)
{
var reverse = a[i];
ra.push(reverse);
}
console.log(ra)
</script>
</body>
</html>
Website Designing Blog
<html>
<body>
<script>
var a = [3,5,7,8];
var ra = [];
for (var i = a.length-1; i>=0; i–)
{
var reverse = a[i];
ra.push(reverse);
}
console.log(ra)
</script>
</body>
</html>