Javascript – How to populate a Multi-Dimensional array (2d matrix) in js?
I wrote a function that creates such a Multi-Dimensional array(2D matrix) with zeros, and then tried to replace zeros in this matrix with digits of populateArr[ ... ] writinga new function ,but nothing worked. WHAT I NEED ↓↓↓ I need…