I want to do the opposite of Get JavaScript function-object from its name as a string?
That is, given:
function foo() {} function bar(callback) {
var x = function fooBar(){}; console.log(x.name); // "fooBar"