Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

Keegan Watkins

Member since Mar 29, 2011

Recent Blog Comments By Keegan Watkins

  • Where Does Node.js And Require() Look For Modules?

    Posted on Apr 13, 2011 at 12:05 PM

    hey ben, while you're exploring node.js, you should consider using Node Package Manager (NPM) ( ) ... it's a great utility for managing additional modules, and can help remove some of the guesswork. nice writeup!... read more »

  • Adding A Splice() Method To The Javascript String Prototype

    Posted on Mar 29, 2011 at 1:59 PM

    nice article ben! any time you're augmenting the built-ins, it's a good idea to at least check for the presence of the property before adding it, something like: if ( !("splice" in String.prototype) ) { String.prototype.splice = function() { // implementation of new method } } or... read more »