I am trying to loop over my nameDef object and return its values to the console log once. However it is showing up 4 different times and I am not to sure why.
Please see