|
-
Jan 4th, 2002, 12:06 PM
#1
Thread Starter
Frenzied Member
What is JavaScript?
Okay, I'm wondering if maybe JavaScript is merely ECMAScript (ECMA-262) compliant, and not the living embodiement of ECMAScript. I'm wondering if maybe there is more in JavaScript than is covered in the ECMA standards.
For example, setTimeout and clearTimeout. These aren't part of ECMAScript, but they are in IE and Netscape's implementation of JavaScript. Is there documentation of what JavaScript is? Is there a standard?
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Jan 4th, 2002, 12:26 PM
#2
Addicted Member
Yes, JavaScript is ECMAScript, or was until Gates & co. started pissing in the swimming pool. With IE as the dominant browser, now there is no standard.
The answer to your other question is there's "more, less and other" in JavaScript compared to the ECMAScript standard.
Having no standard is why it's so very hard to write cross-platform JavaScript and also why people are starting to give up and make their code IE centric. Ignoring standards and even blatantly changing standards makes a lot of sense for Microsoft, but everybody else loses out in productivity and bad attitudes.
cudabean
-
Jan 4th, 2002, 12:39 PM
#3
Black Cat
For example, setTimeout and clearTimeout. These aren't part of ECMAScript, but they are in IE and Netscape's implementation of JavaScript. Is there documentation of what JavaScript is? Is there a standard?
ECMA defines a language that is based on Netscape's original Javascript syntax, but defines it in way that is a more general purpose scripting language rather than a web browser scripting languages, and those functions are part the the web browser object that ECMAScript can manipulate when it is run in a web browser host. At least that's my take on it - ECMAScript is a syntax, and other technologies, like DOM, provide objects for it to interact with.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Jan 4th, 2002, 12:54 PM
#4
Thread Starter
Frenzied Member
That's my take, too, Josh. And since these client controls are outside the scope of the DOM and ECMAScript, they will never be documented by the W3C or ECMA (although I don't see why these can't fold into the DOM Events standards).
If that is the case, who is documenting "JavaScript beyond ECMAScript"? I would imagine NC, since they invented it. But I haven't, yet, found anything really documenting it as part of JavaScript, just part of implimentations.
As Cuda pointed out, if no one controls this, MS will drive it with brute force, and it will become part of the EEE tactic.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Jan 4th, 2002, 01:05 PM
#5
Thread Starter
Frenzied Member
Okay, I found this document outlining JavaScript 1.3. I can't find any documents in the same library for newer versions of JavaScript, save server-side implimentations. Was 1.3 the last client-side update?
http://developer.netscape.com/docs/m...sref/index.htm
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Jan 4th, 2002, 01:19 PM
#6
Black Cat
This site mentions a 1.4:
http://www.opera.com/docs/specs/js/
Nothing on what is considered official though.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Jan 4th, 2002, 01:32 PM
#7
Thread Starter
Frenzied Member
Though it is at Mozilla and not Netscape:
http://www.mozilla.org/js/js15.html
JavaScript 1.5 is in RC1
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|