🔰automatic semicolon insertion

🚧 施工中

JSgrammartokensemicolon ⟩ automatic insertion

There are three cases when semicolon (;) are automatically inserted:

🚧

  • ASI would only be triggered if a line break separates tokens that would otherwise produce invalid syntax.

  • If the next token can be parsed as part of a valid structure, semicolon (;) would not be inserted.

// Some code 🚧

Last updated