What is Multiplication Operator (*) in JavaScript?

JavascriptWeb DevelopmentFront End Technology

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>
raja
Published on 19-Jan-2018 05:39:00
Advertisements