Underscore JS articles

Learning Underscore JS - a quick introduction

Posted: Wednesday 7th May, 2014 - 6:11pm
Author: James Griffiths

If you work with JavaScript on a regular basis there’ll be times when you find yourself wondering why certain methods aren’t built into the language as default. Whether it’s certain types of data manipulation in arrays or custom objects you’ll need specialised helper functions to accomplish these ends. Writing such functionality can be tedious, prone to cross-browser issues and quite often, frustrating.

This is where Underscore JS excels as it provides a set of built-in utilities for working with JavaScript objects (whether they be Arrays, Objects [associative arrays in JavaScript], Functions, Strings or Numbers).