|
@@ -95,7 +95,7 @@ function evaluateItemsAndReturnEmptyIfXIfIsPresentAndFalseOnElement(component, e
|
|
let items = component.evaluateReturnExpression(el, iteratorNames.items, extraVars)
|
|
let items = component.evaluateReturnExpression(el, iteratorNames.items, extraVars)
|
|
|
|
|
|
// This adds support for the `i in n` syntax.
|
|
// This adds support for the `i in n` syntax.
|
|
- if (isNumeric(items) && items > 0) {
|
|
|
|
|
|
+ if (isNumeric(items) && items >= 0) {
|
|
items = Array.from(Array(items).keys(), i => i + 1)
|
|
items = Array.from(Array(items).keys(), i => i + 1)
|
|
}
|
|
}
|
|
|
|
|