But

> if (this.disabled) { }

would look more readable than:

> if (elementDisabled(this)) { }

especially considering the fact that I would be using this method all
over the place and I'm 100% sure that I will not be using third-party
code that could clash with my extensions.

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/jsmentors@jsmentors.com/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/jsmentors@googlegroups.com/

To unsubscribe from this group, send email to
jsmentors+unsubscr...@googlegroups.com

Reply via email to