Computer >> Computer tutorials >  >> Programming >> Javascript

What is Multiplication Operator (*) in JavaScript?


Using Multiplication Operator, you can multiply both operands.

Example

You can try to run the following code to learn how to work with Multiplication Operator in JavaScript −

<html>
   <body>
      <script>
         var a =33;
         var b =10;

         document.write("a * b = ");
         result =a * b;
         document.write(result);
      </script>
   </body>
</html>