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> <h2>Redéclaration d'une variable en utilisant var</h2> <p id="demo"></p> <script> var x = 10; // Ici x est 10 It seems that the text you intended to provide for translation is incomplete. Please provide the full text you would like to have translated, and I'll be happy to assist you! var x = 2; // Ici x est 2 } // Ici x est 2 document.getElementById("demo").innerHTML = x; </script> </body> </html>