The Setup & Goal Let’s say that we have one large text document and we have a a bunch of keywords that we want to parse the document for.  We don’t care how many times times the keyword appears — we just care that it’s been used.  When we find a keyword, we need to record [...]

Follow Me! Twitter | Facebook | LinkedIn | MooTools Forge.

Full David Walsh Blog Post: Quick Tip: Object Indexing vs. Array Collection

Related posts:
  1. dojo.connect: A Powerful Object and Event Listener
  2. Implementing an Array.count() Method in JavaScript
  3. Element Collection Manipulation Shortcut Using MooTools 1.2
  4. Implement Array Shuffling in MooTools
  5. Access JavaScript Object Variable Properties