how to print large array fully in chrome console?
console, formatting, google-chrome, google-chrome-devtools, javascript
Solution
just join all the elements, separated in string with "," :
uniqueNames.join("\",\"")
Problem
I want to print an array (uniqueNames) in the Chrome Console: ``` > console.log(uniqueNames) ``` but the problem I come across is that after ``` > ["Theodor", "Albertus", /* 95 other elements */ "Andreas", "Bernd", "Roland"…] <--- dots here ``` How to print the full array like the first 100 elements? I want to copy it and use in another application. Or maybe it is possible to write this array from the Chrome Console to a file (also in one line, and not as whole log)?