Javascript Reference

Javascript Reference
Introduction to Javascript

JavaScript was first introduced by Netscape in 1995. At first the language is called "LiveScript" that serves as a simple language for Netscape Navigator 2 browsers . In those days a lot of criticism of this language because it is less safe, which impressed the development rush and no error messages showed every time we make a mistake when preparing a program. Then, in line with being jealous of cooperation between Netscape and Sun (the developer of "Java" programming language) at the time, then Netscape gave the name "JavaScript" to the language on 4 December 1995. At the same time, Microsoft's attempt to adapt this technology, which they called "JScript" in Internet Explorer browser.

Javascript is a language that shaped a collection of scripts on the function running on an HTML document, the history of the Internet language is the first scripting language for the web. This language is a programming language to provide additional capability to the HTML language to allow execution of commands on the user side, which means in the browser rather than on the side of the web server.
Javascript is dependent on the browser (navigator) that calls a web page containing the scripts of Javascript and of course tucked into the HTML document. Javascript does not require special compiler or interpreter to run it (in fact Javascript compiler is already included in the browser). As with the language "Java" which require a special compiler to translate it on the user / client.

The table lists the navigator and the version of JavaScript:

Javascript Version and Browser :JavaScript 1.2 for Netscape Navigator 4.0/4.05, Internet Explorer 4.0
JavaScript 1.1 for Netscape Navigator 3.0
JavaScript 1.0 for Netscape Navigator 2.0, Internet Explorer 3.0
JavaScript 1.5 for Netscape Navigator 6.0
JavaScript 1.3 for Netscape Navigator 4.06, Internet Explorer 5.0
JavaScript 1.4 for Netscape Navigator 6.0, Internet Explorer 5.5

Javascript is a language that slow growth in comparison with Java is growing very fast. In JavaScript we can not hide the script code that we write, write code directly in HTML documents and is easily visible, whereas in Java, the code has been compiled in the form of a half (in the form of applets) and can not be visible from within an HTML document, virtual engine on the user is responsible for translating a program in the applet each time an HTML page containing the applet is called by the browser. Compared to a fairly slow java applet loaded by the browser, we can say that Javascript is pretty fast loaded by the navigator.

JavaScript is easily understood language, in terms you need novice skills or basic to understand this language, if you are already accustomed to and familiar with the concept of visual programming languages, as well as Java or C, it would be very easy to understand the concept of JavaScript.

JavaScript is a language that "case sensitive", it means to distinguish the naming of variables and functions that use uppercase and lowercase letters, examples of the variable or function with a different name from the variable TEST with test. And the latter as a Java or C, each instruction ends with a semicolon character (;).

Javascript Reference by Top HTML


Post a Comment