Code crashes from console.log

I well. uhhh. Tried to log an array with 101 inner arrays all with 101 elements inside. It crashed my code. What should I do? I absolutely need to log this array!

Hi @King-Knight-Mare can you provide us with some sample code and the error you’re seeing in the console, or conversely the name of your project, so someone can take a closer look?

 let t = []
 for(let i = 0;i < 101; i++){
       let r = []
       for(let j = 0;j < 101; j++){
              let block = false
              [].forEach(tree => {
                  if(true){
                      r.push(1)
                      block = true
                      
                  }
              })
              console.log(i, j)
              if(!block) r.push(0)
          }
          t.push(r)
      }
console.log(t)

I’m trying to make a graph for astar.js