variables view sorts an array elements taking the indexes as strings

RESOLVED DUPLICATE of bug 828664

Status

()

Firefox
Developer Tools: Debugger
RESOLVED DUPLICATE of bug 828664
5 years ago
5 years ago

People

(Reporter: Optimizer, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
when you expand an array in the variables view, you get this :

V array_foo
  > 0
  > 1
  > 11
  > 12
  > 13
  .
  .
  > 18
  > 19
  > 100
  > 2
  > 20
  > 21

and so on.

Basically the indexes are sorted as strings, not numbers.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 828664
You need to log in before you can comment on or make changes to this bug.