View Single Post
Old 04-21-2009, 06:57 PM   #3 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,324
Thanks: 5
Salathe is on a distinguished road
Default

Quote:
1) Does javascript have version numbers? Like my currently installed PHP is 5.2.8, and soon to be 5.3.0. Is there something like that in javascript? If so, what is the current "version"?
Yes. "JavaScript" (which is a trademark name) is a dialect of ECMAScript which the browsers support in various forms (to avoid trademark issues they can't call what they use "JavaScript"). As far as I'm aware the major browsers all support ECMAScript 3 (in their equivalent form: JScript for IE, JavaScript for Firefox, etc.). The current version of JavaScript in use in browsers varies; IE 8 I think is JScript 6 (equivalent to JavaScript 1.5), Firefox 3.0 has JavaScript 1.8 if memory serves. (Note: may not be 100% accurate but it gives you the idea)

Quote:
2) Is JS the same thing as saying javascript? Or does JS mean something else?
Yes. Not when talking about client-side scripting.

Quote:
3) Is DOM and javascript intertwined?
Not intertwined, but they (JavaScript and HTML DOM) do work closely together in our websites.

Quote:
4) If anyone recommends any recently published books on javascript, I'll run out and buy it immediately.
No book recommendation, I'm afraid of wasting your money! Plus, the web is the biggest, most revised and up to date book ever.
Salathe is offline  
Reply With Quote