JGC: Bill's JavaScript Guide Companion home: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 57: Line 57:


For more information on the differences between JavaScript and Java, see the chapter Details of the object model.
For more information on the differences between JavaScript and Java, see the chapter Details of the object model.
JavaScript and the ECMAScript specification
 
===== JavaScript and the ECMAScript specification =====
JavaScript is standardized at Ecma International — the European association for standardizing information and communication systems (ECMA was formerly an acronym for the European Computer Manufacturers Association) to deliver a standardized, international programming language based on JavaScript. This standardized version of JavaScript, called ECMAScript, behaves the same way in all applications that support the standard. Companies can use the open standard language to develop their implementation of JavaScript. The ECMAScript standard is documented in the ECMA-262 specification. See New in JavaScript to learn more about different versions of JavaScript and ECMAScript specification editions.
JavaScript is standardized at Ecma International — the European association for standardizing information and communication systems (ECMA was formerly an acronym for the European Computer Manufacturers Association) to deliver a standardized, international programming language based on JavaScript. This standardized version of JavaScript, called ECMAScript, behaves the same way in all applications that support the standard. Companies can use the open standard language to develop their implementation of JavaScript. The ECMAScript standard is documented in the ECMA-262 specification. See New in JavaScript to learn more about different versions of JavaScript and ECMAScript specification editions.


Line 87: Line 88:
{| class="wikitable"
{| class="wikitable"
|-
|-
<pre>
|<pre>function greetMe(yourName) {
| function greetMe(yourName) {
   alert("Hello " + yourName)
   alert("Hello " + yourName)
}
}
Line 102: Line 102:


{| class="wikitable"
{| class="wikitable"
<pre>
|<pre>(function(){
| (function(){
   "use strict";
   "use strict";
   /* Start of your code */
   /* Start of your code */

Navigation menu