array.unshift ( AA,BB) - This method add elements to the beginning of an array and returns you the new length.
Similarly this method add element AA,BB to the beginning of an array object elements.
Again, the for loop run the script till the variable i is less than the array length. The document. write return you an array after applying unshift method.
Output of the program
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: November 13, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles