View Single Post
  #2 (permalink)  
Old November 6th, 2010, 09:07 PM
nzakas's Avatar
nzakas nzakas is offline
Wrox Author
 
Join Date: Dec 2004
Location: Peabody, MA, USA.
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts
Default

The code is correct, it was just a way to show that catchall getters and setters could be used.

In any event, it's not useful now since ECMAScript 4 is dead and won't be implemented.
__________________
Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
http://www.nczonline.net/