XIYUETA.COM
源代码:
点击运行
<script src="https://www.xiyueta.com/js/xiyueta.min.js?v36"></script> <script> /* $.load() 解析ASP .functionParam() 获取匹配元素集中第一个元素的函数参数列表,或设置匹配元素的函数参数列表 $.log() 在浏览器里显示内容 == document.write() */ var asp='<%\n\ dim a,b,c\n\ function mytest(byval aAa,byref bBb,ccC)\n\ dim e,F,g\n\ response.write(e & f & g)\n\ dim h,i,j,k\n\ end function\n\ function debug(byval ddd,byref eee,ffff)\n\ dim e,F,g\n\ debug="this is " & ddd & eee & ffff\n\ end function\n\ %>' xiyuetaASP.load(asp); $.log(xiyuetaASP("*").functionParam()) $.log(xiyuetaASP("*").functionParam("a,b,c").print()) xiyuetaASP.load(asp); $.log(xiyuetaASP("*").functionParam( [ ["aaa","t1"],["bbb","t2"] ]).print()) xiyuetaASP.load(asp); $.log(xiyuetaASP("*").functionParam( {aaa:"p1","bbb":"p2"} ).print()) </script>
运行结果