You don't actually need `i`, since the callback to `forEach` will get 3 args, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach#Description, one of which is the index.