reverse Function:
Transposes the elements of an array: the first array element becomes the last and the last becomes the first.
Syntax:
arrayname.revrse()
Description:
The reverse method transposes the elements of the calling array object.
Example in HEAD section:
<html> <head> <title>Reverse Function</title> <script language="javascript"> example=new Array("one" , "two", "three", "four"); document.write("<p>" + example.reverse()); </script> </head> </html> |
Example in BODY section:
<html> <head> <title>Reverse Function</title> </head> <body> <script language="javascript"> example=new Array("one" , "two", "three", "four"); document.write("<p>" + example.reverse()); </script> </body> </html> |
OUTPUT:
four,three,two,one
What concerning publishing index cards?
ReplyDeleteGary.
My webpage: Xerox Phaser 8560
Blogs ou really should be reading...
ReplyDeleteMy site - ,Cheap Earrings With Free Shipping
Beautiful new charms, I like pandora jewellery it's timeless.
ReplyDeleteFeel free to surf to my homepage; silver jewellery usa
i really like the crossover bracelet
ReplyDeleteFeel free to surf to my homepage ... silver jewellery [cw.ccsd.k12.wy.us]
Great info. Lucky me I ran across your website by chance (stumbleupon).
ReplyDeleteI have book-marked it for later!
Feel free to visit my page xerox 8560 solid ink
Greetings! Very helpful advice in this particular post!
ReplyDeleteIt is the little changes that make the most significant changes.
Many thanks for sharing!
My blog: pilgrim jewellery online