+ 1
Why after do {...} while; I must use semicolon?
2 Answers
+ 1
The semicolon is only obligatory when you have two or more statements on the same line.
You shouldnât put a semicolon after a closing curly bracket }. The only exceptions are assignment statements, such as var obj = {};
0
its for closing