chore: use 'const' instead of 'let' (#755) [ci skip]
This commit is contained in:
parent
a840e7ddf0
commit
c54aa43fa7
@ -694,7 +694,7 @@ function parseAttributeValue(
|
|||||||
if (!match) {
|
if (!match) {
|
||||||
return undefined
|
return undefined
|
||||||
}
|
}
|
||||||
let unexpectedChars = /["'<=`]/g
|
const unexpectedChars = /["'<=`]/g
|
||||||
let m: RegExpExecArray | null
|
let m: RegExpExecArray | null
|
||||||
while ((m = unexpectedChars.exec(match[0])) !== null) {
|
while ((m = unexpectedChars.exec(match[0])) !== null) {
|
||||||
emitError(
|
emitError(
|
||||||
|
Loading…
Reference in New Issue
Block a user