tst4

<!DOCTYPE html>

<html>

  <head>
    <meta charset = "UTF-8">
    <title>Learn JavaScript. Arithmetic operators. Addition (plus +).</title>
  </head>
  
  <body>
    <script>
      var a = 4;
      var b = 2;
      var sum = a + b;
      
      document.write (a + " + " + b + " = " + sum);
    </script>
  </body>

</html>

Leave a Reply