Struktur objek konfigurasi lokal untuk pemetaan katalog game di platform mgs88.
{ } example.js{ } example.json
Salin kode
JavaScript
// Konfigurasi objek statis katalog game lokal mgs88
const mgs88CatalogConfig = {
brand: "mgs88" ,
domain: "mgs88game.com" ,
country: "id" ,
platformSupported: ["android" ],
featuredGames: [
{
id: "110" ,
name: "Fortune Tiger" ,
category: "Slot" ,
description: "Permainan slot bertema harimau keberuntungan dengan fitur putaran menarik."
},
{
id: "181" ,
name: "Kraken Gold" ,
category: "Slot" ,
description: "Permainan bertema petualangan laut dalam dan monster kraken legendaris."
},
{
id: "082" ,
name: "Gdn Ice Fire" ,
category: "Slot" ,
description: "Permainan dengan kombinasi elemen es dan api yang memukau."
}
]
};
// Menampilkan nama game terdaftar dalam konfigurasi lokal
mgs88CatalogConfig.featuredGames.forEach((item) => {
// Output representasi lokal untuk pencatatan struktur data
console.log(`[mgs88-local] Game: ${item.name} (${item.category})`);
}); JSON
{
"brand" : "mgs88" ,
"domain" : "mgs88game.com" ,
"country" : "id" ,
"platformSupported" : [
"android"
],
"featuredGames" : [
{
"id" : "110" ,
"name" : "Fortune Tiger" ,
"category" : "Slot" ,
"description" : "Permainan slot bertema harimau keberuntungan dengan fitur putaran menarik."
},
{
"id" : "181" ,
"name" : "Kraken Gold" ,
"category" : "Slot" ,
"description" : "Permainan bertema petualangan laut dalam dan monster kraken legendaris."
},
{
"id" : "082" ,
"name" : "Gdn Ice Fire" ,
"category" : "Slot" ,
"description" : "Permainan dengan kombinasi elemen es dan api yang memukau."
}
]
}