🔰statements that must end with ";"

🚧 施工中

JSgrammartokensemicolon ⟩ statements end with ";"

some statements must be terminated with semicolon (;) :

  • let, const, variable statement

  • import, export, module declaration

  • expression statement

  • debugger

  • continue, break, throw

these statements are affected by automatic semicolon insertion (ASI).

Last updated