javascript
do you need a semicolon in javascript
Do you need a semicolon in javascript? Yes, you need a semicolon at the end of each statement in JavaScript. The semicolon is used to separate multiple statements on the same line, and it is also used at the end of each statement to indicate the end of that statement.