Bug: Console is not displaying arrays correctly

To reproduce run this js query:

let stringArray = [];

stringArray.push("Hello");
stringArray.push("World");

console.log(stringArray)

The Dev Tools console shows it correctly as a string array:

image

But Retool's Debug Console shows it as an object like this:

image

Took me 10 minutes of Googling and ChatGPT to realize that Retool was gaslighting me! :diya_lamp:

Hi Bradly,

Thanks for pointing out this discrepancy. We filed a ticket for this issue and can let you know when we prioritize and fix this.

1 Like