📜  树枝地图 - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:21.032000             🧑  作者: Mango

代码示例1
{% set people = [
    {first: "Bob", last: "Smith"},
    {first: "Alice", last: "Dupond"},
] %}

{{ people|map(p => "#{p.first} #{p.last}")|join(', ') }}
{# outputs Bob Smith, Alice Dupond #}