sorensen / get-function-name.js

Get the name of a function
MIT License
0 stars 1 forks source link

could you not just do if(typeof func 'function') return func.name;return null #2

Open javascriptpoet opened 8 years ago

sorensen commented 8 years ago

To be honest, I don't really remember why this module even exists.