in src/parser.ts [449:463]
expectCommaSeparator() {
if (this.config.tolerant) {
const token = this.lookahead;
if (token.type === Token.Punctuator && token.value === ',') {
this.nextToken();
} else if (token.type === Token.Punctuator && token.value === ';') {
this.nextToken();
this.tolerateUnexpectedToken(token);
} else {
this.tolerateUnexpectedToken(token, Messages.UnexpectedToken);
}
} else {
this.expect(',');
}
}