spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / column26


JavaScript 1.3 Overview, Part II

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

In our previous column, JavaScript 1.3 Overview, Part I, we focused on JavaScript 1.3's changes that are geared towards globalization and multilingual support. In part II, we deal with the rest of JavaScript 1.3's goodies.

In JavaScript 1.3, the Function object has been extended with two new methods, call() and apply(). These new Function methods enable a multi-method construction of objects, which can be very powerful in certain applications. One of the important changes in JavaScript 1.3 is its rethinking of the equality operators. JavaScript 1.3 introduces the "strict equality" concept by providing two new operators that test for strict equality. It also modifies the behavior of older equality operators to become much more explicit and intuitive. Regular expressions, which we covered extensively in our previous column, (Regular Expressions), get a boost in JavaScript 1.3 with the addition of the lambda expression in the replace() method. Now you can package the substitution in a function argument of the replace() method. We cover changes in the behavior of the Array and the Boolean objects, as well as the toString() method. Due to these changes, your scripts may behave differently now. You should be aware of these changes and be ready to fix your code to match this new behavior. In this column we also explain how to specify the JavaScript version at the top of your script. Navigator 4.06 and up modified the behavior of the JavaScript console. We show how to set the console preferences to fit your needs.

In this column you'll learn:

More Resources from Doc JavaScript
Columns Popular Columns Tips Tools
Latest Columns
41-50 | 31-40 | 21-30
11-20 | 1-10
Working with Windows
JavaScript and Frames
Bookmarklets
Random Tips
Personalized Tips
RSS Channels
Menu Builder
Rollover Builder
Rotation Builder
Reference Tip Categories (want one?)
Links
For Your Site
Did you learn something? Do you like this site? Please link to us!

http://www.internet.com

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business


Created: September 28, 1998
Revised: September 28, 1998

URL: http://www.webreference.com/js/column26/