Comment

Comment by Jasper_

For a[i] to be valid, i has to be < a.length. This invariant is never invalidated during the loop body itself.
parent Jasper_ 8 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton