Math operations on numbers in JavaScript

Addition:

javascriptlet a = 1 + 2;
alert(a); // shows 3

Subtraction:

javascriptlet b = 3 - 2;
alert(b); // shows 1

Multiplication:

javascriptlet c = 3 * 2;
alert(c); // shows 6

Division:

javascriptlet d = 4 / 2;
alert(d); // shows 2
Задание 1

Create the variable a. Write to it the sum of the numbers 1, 2 and 3. Display the contents of the variable a, using the function alert.