multiple incarnations of “same” variable in JS local scope – chrome debugger

Have a look a this loop in javascript, and what is showing in the debugger. for some reason there are 4 occurrences of the item variable, however there should be only 1 (unless it seems I’m missing something).

You can see on the right side filteredAttributes.values is an array with 1 object. It gets sorted and mapped, the first time into the inner loop, when setting a breakpoint reveals unexpected values.

What is going on here?!

multiple variable occurrences

{filteredAttribute?.values.length > 0 ? (
  filteredAttribute?.values
    .sort((a, b) => a.fmOrder - b.fmOrder)
    .map((item, i) => {