Sorry if this is a super basic question, but I'm trying to understand how the following expression works. I believe the code uses lodash and backbone.
<%= i%2 ? ' some output ' : '' %>
From what I can determine, it seems to return true (which in this case, outputs some output
) whenever i
is an even number. Is it simply evaluating whether i
is divisible by 2?