I am struggling with a frustrating issue. My goal is to showcase the information stored in the Firebase database in a clear and organized manner, but I'm having trouble achieving this because it's being treated as an object.
getData(){
firebase.database().ref('/').on('child_added',(snapshot)=>{
alert(snapshot.val())
})
}