FACTOID # 118: Australians lead the world in hours worked and membership in many voluntary organizations. How do they find the energy?
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > ECMAScript programming language

The ECMAScript Language Specification is a programming language specification published by the ECMA International. Development of the standard began in 1996 and was based on the popular scripting language JavaScript. It has now been accepted as ISO standard 16262.


ECMAScript defines a dynamically-typed language based mostly on Self, with a C-like syntax and some naming-conventions derived from Java. It supports object-oriented features through prototype based objects and pseudo-classes. And as functions are first-class objects, it fully includes higher-order functions.


Example:

 Array.prototype.fold = function (value, functor) { var result = value; for (var i = 0; i < this.length; i++) { result = functor(result, this[i]); } return result; } var sum = [1,2,3,4,5,6,7,8,9,10].fold(0, function (a, b) { return a + b }) 

Most modern Web browsers include an implementation of the ECMAScript standard as well as a DOM binding for manipulating Web pages. JavaScript is implemented in Netscape Navigator, and Microsoft's Internet Explorer uses JScript. The Opera browser has its own ECMAScript interpreter with extensions to support some JavaScript and JScript features. Each browser has custom extensions to the ECMAScript standard, but any ECMAScript compliant code should work in any of the three.


ActionScript for Macromedia Flash is also based on the ECMAScript standard, with enhancements to allow objects to be dynamically moved, created, and parsed while running the movie.


JavaScript 2.0, JScript .NET and ActionScript 2.0 are each based on the unfinished ECMAScript 4 recommendation.


See also

External links

  • ECMAScript Language Specification: http://www.ecma-international.org/publications/standards/Ecma-262.htm
  • FESI - Free ECMAScript Interpreter: http://www.lugrin.ch/fesi/index.html

  Results from FactBites:
 
Encyclopedia: JavaScript (6606 words)
The C Programming Language, Brian Kernighan and Dennis Ritchie, the original edition that served for many years as an informal specification of the language The C programming language is a standardized imperative computer programming language developed in the early 1970s by Ken Thompson and Dennis Ritchie for use on the...
Prototype-based programming is a style and subset of object-oriented programming in which classes are not present, and behavior reuse (known as inheritance in class-based languages) is done by cloning existing objects which serve as prototypes for the new ones.
Among users of the Perl programming language, the term dignified die is jargon for a case where a programmer anticipates a particular error and sends the information to an error handler function that, for instance, outputs to an error log file and ends the program with some sort of informative...
  More results at FactBites »


 
 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms, 1022, m