Mozilla's getting a new look. What do you think? https://mzl.la/brandsurvey

nsIProgrammingLanguage

This interface provides an enumeration of programming language identifiers.
Inherits from: nsISupports Last changed in Gecko 0.9.5

Constants

Identifiers for programming languages.

Constant Value Description
UNKNOWN 0  
CPLUSPLUS 1 C++
JAVASCRIPT 2 JavaScript
PYTHON 3 Python
PERL 4 Perl
JAVA 5 Java
ZX81_BASIC 6 ZX81 Basic
JAVASCRIPT2 7 JavaScript 2
RUBY 8 Ruby
PHP 9 PHP
TCL 10 TCL
MAX 10 This will be kept at the largest index.

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh, Bedi, Nickolay, Dria
 Last updated by: Sheppy,