I didn't know that this is possible in JavaScript:
var test = {
"hello world": function(){
console.log('test');
}
};
Of course this is only a theoretical question:
Is there a possible way to call the hello world
function other than test["hello world"]()
?
Would it be possible to call it with the .
operator?