I've tested the following code on every browser, and only Internet explorer says its expect an identifier. I've been through many sites but i cant find the answer by myself.
var ref = firebase.database().ref("products");
ref.once("value", function(snapshot) {
let profiles2 = []
snapshot.forEach( function(profile) {
let {url,mobile2} = profile.val();
profiles2.push({url,mobile2})
})
})
Im glad for every answer!