0

i dont understand why there has to be a semicolon can someone explain

13th Jun 2017, 12:55 PM
Matt
Matt - avatar
4 Answers
+ 3
semicolon (;) specifies end of line of code e.g Javascript code var test = "hi"; console.log(test); //output hi
13th Jun 2017, 1:08 PM
Lord Krishna
Lord Krishna - avatar
+ 4
which programming language are you referring to
13th Jun 2017, 12:59 PM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 2
oh ok thank you
13th Jun 2017, 1:08 PM
Matt
Matt - avatar
+ 1
Java
13th Jun 2017, 12:59 PM
Matt
Matt - avatar