I tried to google this question, but couldn't find a decent question. I am looking for a way to make this work:
var testFunction = function() {
console.log("it works");
}
send("testFunction");
I have no idea how to do it. I know this works in ruby though.