1) I am getting following error for
name.showName();'Uncaught TypeError: undefined is not a function`
2) Undefined popup for
As far as my knowledge takes me I have already defined object property and method before using.
Where do you guys think is the bug ?