2012-07-14 6 views

答えて

15

使用toString

> var a = function(){ return 'toto'; } 
undefined 
> a.toString() 
'function(){ return \'toto\'; }'