0
サーバに[Function]
と表示されている関数定義を見つける方法を探しました。関数を括弧で括る方法
例は:
Meteor.publish gives [Function]
on Meteor shell , but how to get the detailed description of function`
`
サーバに[Function]
と表示されている関数定義を見つける方法を探しました。関数を括弧で括る方法
例は:
Meteor.publish gives [Function]
on Meteor shell , but how to get the detailed description of function`
`
@codechimpが言ったように、我々はFunction.toString()
を使用することができますように思えますが一つの印刷機能を言わない方法を求めていますか?もしそうなら、 'console.log( 'func:'、myFunction.toString());'のように 'functionName.toString()'を単に呼び出すことができると思います。 – CodeChimp
ありがとうございました:) –