Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Client Scripting
Expertise: Beginner
Mar 11, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Determining the Version of JavaScript Running

How can I tell which version of JavaScript I am running? I have written JavaScript that runs under Netscape 3 and all the more recent browsers.

In the case of Netscape Navigator, which version of JavaScript you're running depends on the browser you're using. In Internet Explorer, the version of JScript (Microsoft's JavaScript clone) is harder to pin down. This is because the JScript scripting engine is not part of the browser executable and is actually implemented in a separate component. This means that it's possible to have a different, newer, scripting engine installed than the one that originally shipped with your Internet Explorer browser. Given these possibilities your best bet is to test for the browser make and version and then hope for the best.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date