代码:
var a = {b:function(){ console.log('b')}}console.log(a.b.toString());
输出:
function (){ console.log('b')}
相关阅读