JS ⟩ grammar ⟩ token ⟩ punctuator ⟩ semicolon (;)
do...while
empty statement
private member - class { #privateMember; }.
class { #privateMember; }
statements that must end with ";"
automatic semicolon insertion
do...while must be terminated with a ";".
;
lexical grammar ⟩ automatic semicolon insertion
Last updated 1 year ago