Modern JavaScript
About Lesson

It is lesson we are going to learn about JavaScript Object.Entries(), so It is used for making a key value pair of a given object and it returns an array, and it is a feature on JavaScript ES8.



Now let’s create a simple example, in here we have an object with some values, and we have used object.entries(), if you run you will see that we have key value pair for the items in form of array.