New course! Every coder should learn Generative AI!
Try a free lesson0
How many array in given data in javascript
[1,2,3,[5,6,3],6,7,[1,2],5]
1 Answer
+ 2
An array is defined by a pair of square braces.
If you count them, you can figure this out easily.