We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab0a225 commit f4f3a01Copy full SHA for f4f3a01
src/compiler/codegen/index.js
@@ -126,7 +126,7 @@ function genIfConditions (conditions: ASTIfConditions): string {
126
return '_e()'
127
}
128
129
- var condition = conditions.shift()
+ const condition = conditions.shift()
130
if (condition.exp) {
131
return `(${condition.exp})?${genTernaryExp(condition.block)}:${genIfConditions(conditions)}`
132
} else {
0 commit comments