You're passing two individual arrays to the parameter b. Encapsulate them in another set of square brackets like this:
([[5, 6], [7, 8]])
This will make it a 2D array.
1st Jun 2022, 2:03 PM
Pardha Saradhi
Vous avez souvent des questions comme celle-ci ?
Apprenez de maniĂšre plus efficace, gratuitement :