 |
|
JavaScript (JS) is a dynamic computer programming
language. It is most commonly used as part of web browsers, whose
implementations allow client-side scripts to interact with the user,
control the browser, communicate asynchronously, and alter the document
content that is displayed. It is also being used in server-side
programming, game development and the creation of desktop and mobile
applications.
JavaScript is a
prototype-based scripting language with dynamic typing and has
first-class functions. It 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 by the Self and Scheme programming languages. It
is a multi-paradigm language, supporting object-oriented, imperative,
and functional programming styles.
The
application
of JavaScript to use outside of the web pages--- for example, in
PDF documents,
site-specific browsers, and
desktop widgets--- is also significant. Newer and
faster JavaScript VMs and platforms built
upon them have also increased the popularity of JavaScript for
server-side web applications. On the client side, JavaScript was
traditionally implemented as an interpreted language but just-in-time
compilation is now performed by recent browsers. |