/

HTML / CSS / JavaScript Tutorial

JavaScript Operator: multiply

[this page | pdf | back links]

In JavaScript, the * operator is the (binary) arithmetic operator for multiplication.

 

For example, if x is 8 then y = x * 2 results in y becoming 16.

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript Operators


Desktop view | Switch to Mobile