+ 1
Why after do {...} while; I must use semicolon?
2 Antworten
+ 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