// matrix (2D array) filled with 0 Array(3) // [ , , ] .fill() .map( _ => Array(3).fill(0) );
Create 2d array in javascript filled with 0
replit - SpiralMatrix 1.2
Last updated 3 years ago