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 Arithmétique</h2> <p>Une opération arithmétique typique prend deux nombres (ou variables) et produit un nouveau nombre.</p> <p id="demo"></p> <script> let a = 100; let b = 50; let x = a + b; document.getElementById("demo").innerHTML = x; </script> </body> </html>