>>13
it supports strings and has no way to tell if a string contains a function
the proper way to do it is like this
a= {}
a.anus=function(c){console.log(c)}.toString()
a=JSON.stringify(a)
//send string down wire
b=JSON.parse(a)
anus = new Function(b.anus)
anus(5)
this is the power of server side javascript. you don't have to implement some inflexible RPC or some stateless API. Compose functions and send them to the client as needed.
This blurring of code and runtime was what made lisp so great. This forgotten freedom rains down into our hearts, giving life to withered dreams. The deep longing in your hearts for a new world shall be fuffilled. JavaScript unites us all. Through the lambda, we are complete.