Hello,
https://ascendents.net/array_test2.php
Current behavior: multi-dimensional arrays output to the console with console.log() do not accurately reflect their state at the time the function was actually called. For all instances, it shows the array’s final value.
Expected behavior: multi-dimensional arrays output to the console with console.log() should show the array at the time the function was called.
Example: a traditional variable
let apples = 5;
console.log(apples) => 5
apples = 10;
console.log(apples) => 10
expected output:
5
10
The idea of it saying:
10
10
That’s what console.log() does for array output.
One-dimensional arrays seem to be working properly: https://ascendents.net/array_test3.php
I think the graphic explains everything better.
I’m sending the same report to Edge developers and Chrome developers.
Thanks, Kyle
