Something weird has happened and this doesn't work in latest chrome (93) on windows.
it works fine on linux both in chrome and firefox though.
For political reasons, Windows doesn't ship with country flag emojis. It however returns the country code, so that should be a fair alternative.
answers.microsoft.com/en-us/window...
great code, but somehow it does not work on UK
It's GB (Great Britain) for the UK
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Something weird has happened and this doesn't work in latest chrome (93) on windows.
it works fine on linux both in chrome and firefox though.
For political reasons, Windows doesn't ship with country flag emojis. It however returns the country code, so that should be a fair alternative.
answers.microsoft.com/en-us/window...
great code, but somehow it does not work on UK
It's GB (Great Britain) for the UK