我理解在Javascript中的所有语句之后使用分号是很好的语法,但有没有人知道为什么if/else语句在大括号后不需要它们?
javascript if-statement
if-statement ×1
javascript ×1