@david95thinkcode wrote:
Hi everybody. I need help please
Current behavior:
I'm trying to use a parameter in one method.
When I show the object with a console.log, The object is correctly displayed with its various properties.
When I tried to get value of one property of this object, I realize that it shows me : undefined. It seems like the values disappear.
The following pictures explain that :
The code :
My google chrome console shows :
Expected behavior:
The properties of my object should not be "undefined", they should contain there real values inside this object.Please, how could I solve this problem ??? Thanks for any answer
Posts: 2
Participants: 2

