O'Reilly logo

Platinum Edition Using XHTML™, XML, and Java™ 2 by Andrew H. Watt, Mike Morgan, Jim O'Donnell, Eric Ladd

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The JavaScript Language

JavaScript was designed to resemble Java, which, in turn, looks a lot like C and C++. The difference is that Java was built as a general-purpose object language; JavaScript, on the other hand, is intended to provide a quicker and simpler language for enhancing Web pages and servers. This section describes the building blocks of JavaScript and teaches you how to combine them into legal JavaScript programs.

Note

You can find a more complete language reference for JavaScript in Appendix A, "JavaScript Language Reference." You can also find more information at the developer Web sites of Netscape at http://developer.netscape.com and Microsoft at http://msdn.microsoft.com . Finally, the ECMAScript standard can be found as ECMA-262 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required