Monday 23 September 2013

What is Javascript ?

JavaScript is a compact, object-based scripting language for developing client and server Internet applications. Netscape Navigator interprets JavaScript statements embedded in an HTML page, and LiveWire enables you to create server-based applications similar to Common Gateway Interface (CGI) programs.
JavaScript is Netscape's cross-platform, object-based scripting language for client and server applications. There are two types of JavaScript:
  • Navigator JavaScript, also called client-side JavaScript
  • LiveWire JavaScript, also called server-side JavaScript
JavaScript is a language. Client and server JavaScript differ in numerous ways, but they have the following elements in common:
  • Keywords, statement syntax, and grammar
  • Rules for expressions, variables, and literals
  • Underlying object model (although Navigator and LiveWire have different object frameworks)
  • Built-in objects and functions