I have heard lot's of different opinions on eval() and are a bit unsure if it's ok to use eval() in this context:
let's say I have an object like this:
var bla = {
blubb: function (callback) {
       //GET some stuff via ajax
       //call the callback
    }
}
And a string like this:
 var someString = "bla.blubb";
Is it evil to eval the string in order to call the function (and the callback)?
var callMe = eval(someString)
callMe(function(){
   alert('yay')!
});
 
     
     
     
     
    