"listArray" Handlebars Helper

Handlebars Helper:
Handlebars.registerHelper('listArray', function(arr) {  
    var out = [];    
    for (var i = 0, l = arr.length; i < l; i++) {
        out.push(arr[i]);
    }
    return out.join(', ');
});
Template Data:
var data = {  
  tags:[
      'javascript',
      'css',
      'handlebars'            
  ]
}
Template:
<div></div>  
<script id="tpl" type="text/x-handlebars-template">  
    <p>Tags: {{listArray tags}}</p>
</script>  

Marco

daddy in love, runner, kiter, engineer, berlin, sheeeeeit!