Mô phỏng cấu hình môi trường hiển thị cục bộ cho hệ thống.
JavaScript
// Cấu hình tham số môi trường cục bộ cho nền tảng R666
const platformConfig = {
brandName: 'R666',
country: 'vn',
defaultLanguage: 'Tiếng Việt',
supportedPlatforms: ['android'],
activeModules: ['faq', 'guides', 'troubleshooting'],
maintenanceMode: false
};
function getBrandDisplay() {
return `${platformConfig.brandName} (${platformConfig.country.toUpperCase()})`;
}
module.exports = { platformConfig, getBrandDisplay };
JSON
{
"brandName": "R666",
"country": "vn",
"defaultLanguage": "Tiếng Việt",
"supportedPlatforms": [
"android"
],
"activeModules": [
"faq",
"guides",
"troubleshooting"
],
"maintenanceMode": false
}