During debugging, I often dump strings and arrays to the console. But in some cases, Firebug interrupts string values, making it more difficult to assure results.
For example, this code in the console:
console.log ( [ "123456789A123456789B123456789C123456789D123456789E123456789F123456789G", "123456789A123456789B123456789C123456789D123456789E123456789F123456789G" ] );
Productivity:
[ "123456789A123456789B123...89E123456789F123456789G", "123456789A123456789B123...89E123456789F123456789G" ]
(Poorly!)
The only line is fine. It:
console.log ("123456789A123456789B123456789C123456789D123456789E123456789F123456789G");
Productivity:
123456789A123456789B123456789C123456789D123456789E123456789F123456789G
as was expected.
But, arrays and objects are shrinking.
How to stop this behavior? This is mistake? (My Google-Fu failed, yet.)
Brock adams
source share