is there way extract input, output , internal variables .js file name , type? if no, there way extract input, output , internal variables javascript function name , type?
i prefer use php or javascript world, other method can integrated php page or javascript function appreciated.
edit: mistake variable type. fogot it's not relevant in javascript.
if want objects type function
in javascript file can directly in javascript
in same page
var console = { log: function(s) { document.getelementbyid("console").innerhtml += s + "<br/>" } } function allfunctions() { var myfunctions = []; (var l in this) { try { if (this.hasownproperty(l) && this[l] instanceof function && !/myfunctions/i.test(l)) { myfunctions.push(this[l]); } } catch (ex) {} } return myfunctions; } //allfunctions function myfunction1(args) { return "foo"; } function myfunction2(args) { return "bar"; } var allfns = allfunctions(); (var f in allfns) { console.log(allfns[f]) }
<div id="console" />
of course, depending on runtime execution scope, different results, executing in node.js
scope limited node process.