Woring with nested arrays in Javascript
I have the following code. I need to print only any Nested Arrays. let newArray = ["Ameen", "John", ["Working", "Studying"], [10, 100, 30, 40]]; for (let i = 0; i < newArray.length; i++) { *// `Nested For Loop To Print…