spacer

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

home / experts / javascript / column26


JavaScript 1.3 Overview, Part II

Developer News
Mozilla's Ubquity Mashup: For The Masses?
iPhone Users Just Want to Have Fun
Oops! I Fixed the Linux Kernel

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



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

webref The latest from WebReference.com Browse >
Performance Optimizations for High Speed JavaScript · Advanced Web Performance Optimization · Simple Comments Meets OpenID
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Extending Telephony: VoIP Call Recording for Business · U-Verse for Business Has Wi-Fi Perks · Lian-Li Launches New Power Supply Line, Rack Mount Kit and Fan Blower


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

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