Random thoughts & observations

From the mundane to the profound and everything in between here’s what’s rocking our world

Learning Underscore JS - a quick introduction

Posted: May 7, 2014
Written by: Saints At Play
Category: Underscore JS

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).

More »

Latest Tweets