This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Return the emoji flag for an ISO-3166-1 alpha-2 country code. | |
* | |
* The ISO code should be a string consisting of two latin characters | |
* (case-insensitive). Note that this method *does not* check the validity | |
* of the provided ISO code. | |
* | |
* @param {string} isoCode | |
* ISO-3166-1 alpha-2 country code | |
* @return {string} the emoji of the country's flag |
OlderNewer