javascript-questions icon indicating copy to clipboard operation
javascript-questions copied to clipboard

Question 28

Open tom1mat opened this issue 4 years ago • 2 comments

It actually returns nothing because name.giveLydiaPizza() is not logged. I think you should add console.log(name.giveLydiaPizza()) or add a new option Nothing

tom1mat avatar Dec 29 '20 03:12 tom1mat

I agree with @tom1mat with adding the console.log(), but don't agree with option D as correct.

eduduardo avatar Dec 29 '20 11:12 eduduardo

I agree with @tom1mat with adding the console.log(), but don't agree with option D as correct.

Its true! It should output nothing 😜.

I have just edited the comment :)

tom1mat avatar Dec 29 '20 13:12 tom1mat