Run
Reset
Chrome
Cobalt
Monokai
Dreamweaver
Vibrant Ink
<html> <head> <title>Learning Javascript</title> </head> <body> <p id="demo"></p> </body> </html>
/* CSS */
var fruit=["apple","mango","strawberry","kiwi"]; fruit[0]= "guava"; document.getElementById("demo").innerHTML=fruit[0];