I have js file having module.exports. print function name and length of argument

  javascript, list, python

fun.js
function a(colname){
return #something
}
function b(colname){
return #something
}
module.exports={
a,
b
}

#output.py.
#I want to print name of function as well as length of argument
output
a
b
1
1

Source: Python Questions

LEAVE A COMMENT