automatic semicolon insertion
🚧 施工中
Last updated
Was this helpful?
🚧 施工中
Last updated
Was this helpful?
⟩ ⟩ ⟩ ⟩ 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.