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

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(