Java Script

Only available on StudyMode
  • Download(s) : 25
  • Published : March 9, 2013
Open Document
Text Preview
JAVASCRIPT
JavaScript (JS) is an interpreted computer programming language. It was originally implemented as part of web browsers so that client-side scripts may interact with the user, control the browser, communicate asynchronously and alter the document content that is displayed. JavaScript is a prototype-based scripting language that is dynamic, weakly typed and has first-class functions. It uses syntax influenced by the language C. JavaScript copies many names and naming conventions from Java, but the two languages are otherwise unrelated and have very different semantics. The key design principles within JavaScript are taken from the Self and Scheme programming languages. It is a multi-paradigm language, supporting object-oriented, imperative, and functional programming styles. JavaScript’s use in applications outside of web pages — for example in PDF documents, site-specific browsers, and desktop widgets—is also significant. Newer and faster JavaScript VMs and frameworks built upon them (notably Node.js) have also increased the popularity of JavaScript for server-side web applications. JavaScript was formalized in the ECMAScript language standard and is primarily used in the form of client-side JavaScript (as part of a web browser). This enables programmatic access to computational objects within a host environment.

Birth at Netscape
JavaScript was originally developed in Netscape, by Brendan Eich. Battling with Microsoft over the Internet, Netscape considered their client-server solution as a distributed OS, running a portable version of Sun Microsystems' Java. Because Java was a competitor of C++ and aimed at professional programmers, Netscape also wanted a lightweight interpreted language that would complement Java by appealing to nonprofessional programmers, like Microsoft's Visual Basic. Developed under the name Mocha, Live Script was the official name for the language when it first shipped in beta releases of Netscape Navigator 2.0 in September...
tracking img