Use these functions in order to flip back and forth between an Object and an Array.
Instructor: We start with an object. We can turn that object into an array using object.entries, and pass in our object. To reverse that, we can use object.fromEntries and pass in our array. This results in our original object
You must be a Pro Member to view code for this lesson
Access all courses and lessons, track your progress, gain confidence and expertise.