ES6 was created to standardize JavaScript, and ES6 is the 6th version of ECMAScript, it was published in 2015.
This post is designed for beginners to React, as well as folks who’re learning the main concepts. I think I can help you figure this out.
In Github Gist, I found a countries list format that can help you. To my front-end of today, I have added an array of objects, with “name” and “code”. This is very useful when implementing a select country list in Vue or React, for example.