JavaScript


 * Were you looking for Java (programming language)?

JavaScript (often shortened to JS) is an Event and Function based programming language created by the Netscape development team on December 4th, 1995. It is seen as one of three major building blocks of web development, along with HTML and CSS.

Functionality
JavaScript uses curly-bracket and dynamically typed syntax similar to Java. It can be categorized as an "event and function based" programming language. It allows for things such as customs variables, strings , basic or complex math, and much more. A basic math problem could be something such as, but can be more complex in general with combining numbers. Some boolean operations are allowed in addition to the basic functions.

Alert function example
You can make custom alerts on web pages by adding the following code:, which would make Hello world! appear in the alert. The two  that the text rests in is what defines a string.

Custom variables
JavaScript allows programmers to add their own variables as well. An up-to-date version of a pre-written code will be presented below, which detects a logged in wiki users username.

Now another code could be used to present the following text:
 * Hello, anonymous user !

Advanced
The following code can serve multiple functions in JavaScript.