Math operatior part 2
Multiplication
The multiplication operator (*) multiplies one number by the other.
10 * '5' or '10' * '5' gives the same result. Multiplying a number with string values like 'sololearn' * 5 returns NaN (Not a Number).
What character is used as the multiplication sign?
Comments
Post a Comment