🚧 施工中
JS ⟩ grammar ⟩ token ⟩ semicolon ⟩ statements end with ";"
some statements must be terminated with semicolon (;) :
let, const, variable statement
let
const
import, export, module declaration
import
export
expression statement
debugger
continue, break, throw
continue
break
throw
return
these statements are affected by automatic semicolon insertion (ASI).
return is affected by automatic semicolon insertion.
lexical grammar ⟩ automatic semicolon insertionarrow-up-right
Last updated 3 years ago