How to find all global variables in mixed JavaScript - PHP project in NetBeans

Hello Experts.

I am running the code base quality test JavaScript mixed with PHP project and need
to know all the JS globals.

NetBeans already highlights them in green, so knows about them, but how to get their total list?

Thank you.
LVL 2
BitlabAsked:
Who is Participating?
 
ahoffmannConnect With a Mentor Commented:
if you access the page with chrome browser, you can use chrome's developer tools which show you in which namespace the variable resides
0
 
BitlabAuthor Commented:
PS. Possible answer is here, but how to differentiate own variables from Browser's Global variables:

http://stackoverflow.com/questions/6985224/intercepting-global-variable-definition-in-javascript
0
 
BitlabAuthor Commented:
Thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.