dev0x10

Results 2 comments of dev0x10

Your output looks ok, but with additional output 'undefined'. The problem is you call doc.getBar() inside a console. But inside your doc.getBar() method there is another console. Simply try this...