If I store a javascript function inside an Object like this :
jsObject = {
TestFuntion1 : function(){
var x = 1;
return x;
},
TestFunction2 : function(){
console.log("Hello World");
}
}
Can I get the content of these function as a string ?
var x = 1; return x; /*OR*/ console.log("Hello World");
I tried playing with the 'prototype', but nothing seems to return me the content of it. Thank you for your help !