When I print an array, it shows up as a 100 element array of objects, but when I expand it, it doesn't expand. Instead, there is a blue info icon that says "Value below was evaluated just now", and the arrow changes direction. The problem is still there even if I clone my array when printing (which was an answer in another SO question).
I am actually using node.js with chrome debugger but I think the issue is the same. Here is my code
const axios = require('axios');
axios.get("https://--------")
.then(function(response) {
let data = response.data;
console.log(data.slice(0, 100));
});
axios just sends http requests.
I've read:
Is Chrome's JavaScript console lazy about evaluating arrays?
Weird behavior with objects & console.log