Title says it all I tried it all but variable just returns undefined at console.log
var kategorilerArray; dbo.collection("anasayfaKategoriler").find().s