How to get method name from JavaScript file

后端 未结 4 1529
终归单人心
终归单人心 2021-01-16 19:33

I have a JavaScript file with many methods defined in it. Is there any way to know how many methods are in that file & what are the names of methods?

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-16 19:45

    Write a program to load your file into Rhino, and then inspect the dictionaries and see what you have.

提交回复
热议问题