I'm receiving the error
missing ; before statement
This is in reference to
var westvars += ''+ (i+1) +'. '+ el.
Any idea what may be going wrong. I've tried removing the line/reconstructing the line ect. I just can't seem to figure out what part of the string is using an incorrect syntax.
var westvars = '<div class="clear">';
westvars += '<div class="col-xs-2 teamname"><span>'+ (i+1) +'. '+ el.city +' '+ el.name +'</span>';
westvars += '</div>';
westvars += '<div class="col-xs-2 winsloss"><span>'+ el.wins +'-' +el.losses +'</span>';
westvars += '</div>';
westvars += '<div class="col-xs-2 gamesback">' + el.gback +';
westvars += '</div>';
westvars += '</div>';
' ''on the sixth line.