My question is not specific to one excercie, I got this in many, but I saw it on this one :
JS Privacy Exercise
I often get an undefined message in the console, it appears after what I wanted to log on the console using a function, here is an exemple with the code and the result :
Here is the code used :
Do you guys know why I get this undefined with no reason ?
Thank you for your help