Multiply Two Numbers with JavaScript

preview_player
Показать описание
How to do multiply in JavaScript? The Multiplication Operator ( * ) multiplies numbers.

What is cosnt in JavaScript? The const declaration creates block-scoped constants, much like variables declared using the let keyword. The value of a constant can't be changed through reassignment (i.e. by using the assignment operator), and it can't be redeclared (i.e. through a variable declaration).

What is var in JavaScript? The var statement declares a variable. Variables are containers for storing information. Creating a variable in JavaScript is called "declaring" a variable: var carName; After the declaration, the variable is empty (it has no value).

Рекомендации по теме