Meteorでこれを行うにはどうすればよいですか?
Template.foo.bar = function() {
someVar = return value of some other function
return SomeCollection and someVar;
}
- - - -レンプレート - -
{{#each someCollection}}
{{someVar}} {{someCollectionField}}
{{/each}}
通常のJavaScriptでは、配列を使用して複数の値を返すことができますが、Meteorではどのように機能しますか?