Struktur konfigurasi objek lokal statis untuk pengujian data game evip3.
{ } config.js{ } config.json
Salin kode
JavaScript
// Konfigurasi objek lokal katalog game evip3
const localPlatformConfig = {
brand: "evip3" ,
domain: "evip30game.com" ,
environment: "local_test" ,
featuredGames: [
{ id: "106" , name: "Emoji Riches" , category: "Slot" },
{ id: "056" , name: "Shaolin Soccer" , category: "Slot" },
{ id: "194" , name: "Mighty Mania" , category: "Slot" }
],
supportStatus: "active"
};
console.log("Konfigurasi aktif:" , localPlatformConfig.brand); JSON
{
"brand" : "evip3" ,
"domain" : "evip30game.com" ,
"environment" : "local_test" ,
"featuredGames" : [
{
"id" : "106" ,
"name" : "Emoji Riches" ,
"category" : "Slot"
},
{
"id" : "056" ,
"name" : "Shaolin Soccer" ,
"category" : "Slot"
},
{
"id" : "194" ,
"name" : "Mighty Mania" ,
"category" : "Slot"
}
],
"supportStatus" : "active"
}