1)index of( ) - This return the position of the value that is hold by an array object and store in a variable index.
Finally the document. write print the index position of India on array.
Output of the program
Posted on: April 17, 2011 If you enjoyed this post then why not add us on Google+? Add us to your Circles