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


Member since Feb 6, 2012

Recent Blog Comments By maloz

  • Javascript Array Methods: Unshift(), Shift(), Push(), And Pop()

    Posted on Feb 6, 2012 at 5:49 AM

    Hi, how would you add an element like this : MyArray['var1'] = 'my first element'; MyArray['var2'] = 'my second element'; at the end of an array with push, or in particular index with splice.... I get it with simple array, but can't figured it out with more complex one. Thanks !... read more »