Meteor template Blaze how to return only first element of array

meteor, meteor-blaze, templates

Solution

Use `{{arr.[0]}}`. And this is now at least 30 characters.

https://www.blazejs.org/api/spacebars.html#Identifiers-and-Paths

Problem

For example I have an array: var arr = ['a', 'b'] and want to get only first element in template

Original source