1. What is the purpose of the semicolon in JavaScript?
To indicate the end of a statement
To separate HTML and JavaScript code
To define a block of code
To concatenate strings