javascript-questions
javascript-questions copied to clipboard
Question 28
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
I agree with @tom1mat with adding the console.log()
, but don't agree with option D as correct.
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 :)