+ 1
How can I console.log; alert, or document.write my method invocation?
Example: var villian={ badGuy1:'Bane', badGuy2:'Poison Ivy', getVillian:function(){ console.log(villian.badGuy2); } }; Why won't Poison Ivy show in my console? Is there anything I have done incorrect?
4 Answers
+ 1
Biraj, thank you -- sincerely... đ
It has been about four days that I have been dealing with this. I was so afraid to ask, until I knew for sure that I wasn't writing the wrong script.
This SoloLearn community is such a great experience -- thank you!
+ 1
Method Invocations are explained so poorly, in the tutorial.
They have only placed document.write("string") -- that is not cool. Because, my definitive guide has led me to try and expand the call.
That's why I am here...