Open vadim9999 opened 5 years ago
@vadim9999 hi, actually, i don't understand this task clearly
@elnur004 Hi, I will push some changes after 5 minutes and explain how to do
@elnur004 Ok, in play js delete all imports make it empty. Then with using require import from filesObjects.js. Create function that will be displaying in loop all objects in console.log. you can use forEach, map, or other
@elnur004 please look on this task. I have updated it
@vadim9999 this syntax in filesObjects.js confuses me arr = { ...arr,
what is this meaning? especially 3 dots
I see this task is stuck
@elnur004 What help do you need that you will complete this task?
@elnur004 The first stage was done. Your goal here create a function that will be displaying all objects. As you see when you display two objects using the same function forEach(). Think up how to separate it with one function.
staticData
contains data of all files that is stored in src/data. staticData is array that contains all objects. Object contains property name - filename, value - object that was got from file. staticData.dash returns object.dash
is a value of property dash