From: Luxiaosong <2878354193@qq.com> Date: Fri, 21 Feb 2020 10:21:24 +0000 (+0800) Subject: chore: use 'const' instead of 'let' (#755) [ci skip] X-Git-Tag: v3.0.0-alpha.6~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c54aa43fa738461c9f16a444942ddd8a558bebaa;p=thirdparty%2Fvuejs%2Fcore.git chore: use 'const' instead of 'let' (#755) [ci skip] --- diff --git a/packages/compiler-core/src/parse.ts b/packages/compiler-core/src/parse.ts index f856d06027..dbadeff771 100644 --- a/packages/compiler-core/src/parse.ts +++ b/packages/compiler-core/src/parse.ts @@ -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(