how to read 2 dimensional array in javascript

JavaScript
        
            
        
     activities.forEach((activity) => {
    activity.forEach((data) => {
        console.log(data);
    });
});
Source

Also in JavaScript: