Maps a location to its corresponding currency code.
Uses a predefined mapping from the CURRENCY_CODE_MAP_BY_LOCATION constant.
Supports major international locations.
Parameters
location: string
The location to look up (e.g., 'US', 'GB')
Returns valueof
The corresponding currency code (e.g., 'USD', 'GBP')
Maps a location to its corresponding currency code. Uses a predefined mapping from the CURRENCY_CODE_MAP_BY_LOCATION constant. Supports major international locations.