ZahraArshia/Awesome-books

Fix error

Closed this issue · 0 comments

You are trying to loop over an array which is not possible using forIn on line51. use forOF to iterate over the array.
But if you are trying to get the object in the array, then you have to get the object by the array index, then use forIn or Object.keys() to get the keys and value of the object