chore: use 'const' instead of 'let' (#755) [ci skip]

This commit is contained in:
Luxiaosong 2020-02-21 18:21:24 +08:00 committed by GitHub
parent a840e7ddf0
commit c54aa43fa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -694,7 +694,7 @@ function parseAttributeValue(
if (!match) {
return undefined
}
let unexpectedChars = /["'<=`]/g
const unexpectedChars = /["'<=`]/g
let m: RegExpExecArray | null
while ((m = unexpectedChars.exec(match[0])) !== null) {
emitError(