JavaScript statements are used to perform actions and make decisions in a program. Here are some common JavaScript statements:
var x = 5;​
if (x > 10) {
console.log('x is greater than 10');
} else {
console.log('x is less than or equal to 10');
}​
for (var i = 0; i < 10; i++) {
console.log(i);
}​
function add(x, y) {
return x + y;
}​
switch (day) {
case 'Monday':
console.log('Today is Monday');
break;
case 'Tuesday':
console.log('Today is Tuesday');
break;
default:
console.log('Today is not Monday or Tuesday');
}​
These are just a few examples of the types of statements you can use in JavaScript. There are many more statements available that can help you perform different actions and make decisions in your program.