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>JavaScript laissez</h2> <p>Redéclarer une variable avec<b>let</b>, dans un autre contexte, ou dans un autre bloc, est autorisé :</p> <p id="demo"></p> <script> let x = 2; // Autorisé It seems that the text you intended to provide for translation is missing. Please provide the English text you would like me to translate into French, and I'll be happy to assist you! let x = 3; // Autorisé } It seems that the text you intended to provide for translation is missing. Please provide the English text you would like me to translate into French, and I will be happy to assist you! let x = 4; // Autorisé } document.getElementById("demo").innerHTML = x; </script> </body> </html>