JavaScript Tutorial - Statements and Comments
In this tutorial, we will learn about statements and comments. What Is JavaScript Statement? A statement is an instruction given to the computer. It is how programming languages in general work, not just JavaScript, but all programming languages. The semicolon ; at the end of the statement means this is the end of the statement. Whenever you write a statement in JavaScript, you end your statement off with a semicolon and whatever comes after this is a completely new statement.