Minecraft Wiki:Sandbox

document.getElementById("demo").innerHTML = "Hello JavaScript!";