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?
Is there any way to know that how many methods are there in Java Script & what is the names of method?
Read the source or the documentation (if there is any).
If you're looking for some kind of "list avaialble methods" function, there isn't one. Writing one would be the equivalent of writing a javascript parser and perhaps even compiler.
Good luck with that. :-)