RESOLVED DUPLICATE of bug 35801 75561
Web Inspector: console.log shows incorrect value for array if array is modified after statement
https://bugs.webkit.org/show_bug.cgi?id=75561
Summary Web Inspector: console.log shows incorrect value for array if array is modifi...
RC Howe
Reported 2012-01-04 11:28:13 PST
The code > var array = [1,2,3]; > console.log( array ); > array.reverse(); produces [3,2,1], when it should produce [1,2,3]. If the array.reverse() is taken out, it produces [1,2,3].
Attachments
Timothy Hatcher
Comment 1 2012-03-19 06:49:02 PDT
*** This bug has been marked as a duplicate of bug 35801 ***
Note You need to log in before you can comment on or make changes to this bug.