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

Posted on 2012-09-07
Last Modified: 2012-09-15
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.
Question by:Bitlab
    LVL 2

    Author Comment

    PS. Possible answer is here, but how to differentiate own variables from Browser's Global variables:
    LVL 51

    Accepted Solution

    if you access the page with chrome browser, you can use chrome's developer tools which show you in which namespace the variable resides
    LVL 2

    Author Closing Comment

    Thank you.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
    This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
    THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
    The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now