Exécuter
❯
Exécuter le code
Ctrl+Alt+R
Enregistrer le code
Ctrl+Alt+A
Changer d'orientation
Ctrl+Alt+O
Changer de thème
Ctrl+Alt+D
<!DOCTYPE html> <html> <body> <h1>Tableaux JavaScript</h1> <h2>Le nouveau Constructeur</h2> <p id="demo"></p> <script> const colors = new Array(["rouge", "vert", "bleu"]); document.getElementById("demo").innerHTML = colors; </script> </body> </html>