javascripts


Info about Javascripts


Jscript architecture


It is a Microsoft Corporation's implementation of the ECMAScript standard.


JScript is an interpreted object-based Web scripting language originally developed as Microsoft's counterpart to Netscape's JavaScript scripting language. JScript was designed to allow Web developers to easily add dynamic, interactive content to static Hypertext Markup Language (HTML) pages.


JScript is a superset of the ECMA-262 specification, a standard for cross-platform, vendor-neutral scripting languages developed by the European Computer Manufacturers Association (ECMA). JScript fully complies with the ECMAScript standard and also includes advanced features that make it a powerful scripting tool for the Microsoft Windows platform. In particular, JScript allows Component Object Model (COM) objects such as ActiveX controls to be called from within scripts and executed using the Windows Scripting Host (WSH), enabling the full power of the Windows operating system to be accessed.


JScript is an interpreted programming language that is executed at run time. JScript files use the extension .js to identify themselves to WSH for execution. JScript supports standard programming elements such as statements, variables, constants, operators, conditionals, loops, functions, and arrays. It also supports a limited number of objects and methods. JScript supports six different data types including the variant data types. The language is thus loosely typed, meaning you do not have to declare a variable's data type before you use the variable. JScript has limited file input/output (I/O) features.


You can execute scripts written in JScript in several ways:


• By double-clicking on a shortcut to a .js file and executing them directly using the WSH


• By running them from the command line using the WSH


• By embedding them into HTML pages using