Java + Script ≠JavaScript
JavaScript is not Javaâ . It may look like Java, but it is actually just close enough to really cause confusion. JavaScript was originally called Live!Script back when Netscape first created it. Although there is broad support for JavaScript, you will learn that dialects exist; for example, Microsoft's version, called JScript. There is a standard definition, which is known as ECMAScript, and you can find its specification at this URL: http://www.ecma-international.org/
Although the syntax is similar, Java and JavaScript deal with data and data types differently. This is one of the main sources of confusion, and with that, errors when working with JavaScript.
- Data Representation
- Ambiguous Function Calls
- Char/String data in Java versus JavaScript Strings
- Variable scope and naming
- Instantiating a Java class
- Using binary values in scripting
- Using date values in scripting
- Using floating point values in scripting
Parent topic:
Scripting in SDI