A sparse array has length three, but only its middle index is assigned undefined. Read run() and choose the exact summary it returns.
Compare which indexes map visits, how many values for-of produces, which indexes are own enumerable keys, and how JSON.stringify represents the array. No source edits are needed.