@for (tab of tabs; track tab; let i = $index) { }
@for (tab of tabs; track tab; let i = $index) { }