Creating a JavaScript application and looking to establish a config object. Here's what I have so far:
var config = {
localization: {
locales: ['en', ..., 'de'],
defaultLocale: 'en'
}
}
Considering using 'default': 'en'
instead of defaultLocale: 'en'
, but unsure if both are valid options. Any thoughts?
Important: Prefer not to use the first element of the array.
Appreciate any help!