Skip to content

Commit f4f3a01

Browse files
committed
minor: use const
1 parent ab0a225 commit f4f3a01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/codegen/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function genIfConditions (conditions: ASTIfConditions): string {
126126
return '_e()'
127127
}
128128

129-
var condition = conditions.shift()
129+
const condition = conditions.shift()
130130
if (condition.exp) {
131131
return `(${condition.exp})?${genTernaryExp(condition.block)}:${genIfConditions(conditions)}`
132132
} else {

0 commit comments

Comments
 (0)