JavaScript Array For Loop
home
Run
screen_rotation
fullscreen
cloud_download
navigate_before
navigate_next
<html> <head> <title>Javascript Array</title> <script> function getAllItems(){ var myArray = ["10","11","20","23","98","101"]; alert(myArray[0]); } </script> </head> <body > <button type="button" onclick="getAllItems()">Get Array</button> </body> </html>
<html> <head> <title>Javascript Array</title> <script> function getAllItems(){ var myArray = ["10","11","20","23","98","101"]; alert(myArray[0]); } </script> </head> <body > <button type="button" onclick="getAllItems()">Get Array</button> </body> </html>
Copyrights@tutorialsplane.com