Ok, i see. That prevents from checkboxes.length being accessed multiple times...