You could also do a minusOne
helper and use it like:
{{# eq( scope.index, minusOne( itemsArray.length ) ) }}
Created an idea for making this even easier here: https://github.com/canjs/can-stache/issues/674
You could also do a minusOne
helper and use it like:
{{# eq( scope.index, minusOne( itemsArray.length ) ) }}
Created an idea for making this even easier here: https://github.com/canjs/can-stache/issues/674