If I have the following object:
var helloWorldFunctions = {
'hello.world': function () { return 'hello world'},
'helloWorld' : function () { return 'hello world'}
}
I can call the second 'helloWorld' function in the object by doing:
helloWorldFunctions.helloWorld()
How can I call the first 'hello.world' function? Naturally, doing the following gives me a type error:
helloWorldFunctions.hello.world()