OK, I see.  As long as `generatorFn` had access to `items` at runtime, it could use the `i` argument passed to it to find `items[i]`.  A bit constraining but probably not a showstopper in most cases.