From f5aef4c6181a707c1c0278be8224e27952249431 Mon Sep 17 00:00:00 2001 From: Josh Duff Date: Mon, 16 Dec 2019 12:09:46 -0600 Subject: [PATCH] Explain how each blocks work a bit more --- site/content/docs/02-template-syntax.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index 89506753d6..80566e164f 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -205,6 +205,8 @@ Iterating over lists of values can be done with an each block. ``` +You can use each blocks to iterate over any value with a `length` property. + --- An each block can also specify an *index*, equivalent to the second argument in an `array.map(...)` callback: