// rastgele bir sayı üretmek için bir fonksiyon oluşturun
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
// ratingCount özelliğine rastgele bir sayı atayın
const ratingCount = getRandomInt(50, 500);
// snippet'ı oluşturun
const snippet = {
"@type": "AggregateRating",
"ratingValue": "4.5",
"bestRating": "5",
"ratingCount": ratingCount.toString()
};