Making your javascript a little more object oriented

[url=http://www.crockford.com/javascript/private.html]A brief but illuminating page[/url] on private methods in javascript. Actually, the rest of this guy's site, [url=http://www.crockford.com/javascript/javascript.html]"JavaScript: The World's Most Misunderstood Programming Language"[/url] is a pretty good read as well. Here's my favourite quote "Nearly all of the books about JavaScript are quite awful." I turned this one up while looking for more information on how 'this' works in javascript. It seems inconsistent between a couple of my objects, but I'll post more as I find it.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can use BBCode tags in the text.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor, sorry but we need it to help prevent automated submissions.
"conks exalt hexes jupon reels woads"