FLEX-33714 changed const to var for newRowIndex - Falcon is stricter then legacy compiler