Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

do you need a semicolon in javascript

// semicolons are optional because javascript is smart to detect where a line of code ends!!!
console.log(45)
console.log(45);

// there still the same
 
PREVIOUS NEXT
Tagged: #semicolon #javascript
ADD COMMENT
Topic
Name
5+9 =