You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
what I want you to do, is loop throw the nodes array ..
and get each object from inside it:
let's say this is a node:
node={surname: 'something',anotherthing: 'entirly different something'}
all what I 'm lookin for is to get the surname: 'something' to be taken from that node
and inserted inside the mentor.info object..
HINT:
// this is the mentorObject : mentorObj// this is the infoObject: mentorObj.infoconstinfo=mentorObj.infoletnewMentorInfo={}form.nodes.map((node)=>{newMentorInfo={
...info,[node.somekey]: node.somekeyVALUE}}
I this it should look something like that
good luck mate
The text was updated successfully, but these errors were encountered:
So, these are your NODES 👍
what I want you to do, is loop throw the nodes array ..
and get each object from inside it:
let's say this is a node:
all what I 'm lookin for is to get the
surname: 'something'
to be taken from that nodeand inserted inside the
mentor.info
object..HINT:
I this it should look something like that
good luck mate
The text was updated successfully, but these errors were encountered: