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
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial
Post your Comment