We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9984a6e commit 9741173Copy full SHA for 9741173
doc/filters/map.rst
@@ -27,7 +27,7 @@ The arrow function also receives the key as a second argument:
27
"Alice": "Dupond",
28
} %}
29
30
- {{ people|map((value, key) => "#{value} #{key}")|join(', ') }}
+ {{ people|map((value, key) => "#{key} #{value}")|join(', ') }}
31
{# outputs Bob Smith, Alice Dupond #}
32
33
Note that the arrow function has access to the current context.
0 commit comments