It's not a secret anymore!
The moose likes JSP and the fly likes ECMA Script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "ECMA Script" Watch "ECMA Script" New topic

ECMA Script

Sandeep Jindal
Ranch Hand

Joined: Aug 25, 2003
Posts: 180
Dear All,

Please tell me what is ECMA script and how it is related/different from Java script and other scripting languages.

Thanks and Regards
Sandeep Jindal

SCJP 5.0
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
ECMAScript is the standard version of what is generally known as JavaScript.

The name JavaScript is mainly historical (though almost everyone uses it instead of the more technically correct name) and was invented by Netscape Corp. for their new browser scripting language in the old days (when men were real men, compilers were real compilers and small furry creatures from Alpha Centauri were sci/fi authors with too much to drink).
Netscape donated their work to ECMA (a standards body) and promptly started adding all kinds of Netscape specific stuff to their implementation leading to the mess of browserspecific JavaScript versions in use today.

Most any browser supports ECMAScript, if you stick to it you have effectively a common platform for your code.

It's similar to the story of ANSI C where compiler manufacturers often added their own non-standard "enhancements" which break compiler compatibility.

Sandeep Jindal
Ranch Hand

Joined: Aug 25, 2003
Posts: 180
Thanks Jeroen,

Really these sort of explanations really helps. When someone asked do u know ECMA Script, i used to say and yes to JavaScript.

Thanks Once Again.

Sandeep Jindal
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

Moving to the HTML/Javascript forum.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: ECMA Script
It's not a secret anymore!