index.js
// calls create marker once for each elem in arr up to 7 events
calls create marker once for each elem in arr up to 7 events
calls create marker once for each elem in arr up to 7 events
function callCreate(evArr) {
  for (var i=0; i<7; i++) {
    createMarker(evArr[i]);
  }
}
function callCreate ( evArr ) { for ( var i = 0 ; i < 7 ; i ++ ) { createMarker ( evArr [ i ] ) ; } }
calls create marker once for each elem in arr up to 7 events
calls create marker once for each elem in arr up to 7 events