64x64 icon dark hosting
Choose a hosting plan here and get a free year's subscription to Tuts+ (worth $180).

JavaScript from Null: Utility Functions and Debugging


Start a hosting plan from $3.92/mo and get a free year on Tuts+ (normally $180)

This post is part of a series called Javascript from Null.
JavaScript from Null: Cross-Browser Event Binding

JavaScript University continues as we develop our first utility function that will allow us to filter and retrieve only the unique values from an array. Along the way, I'll also teach you how to use the excellent Firebug to debug your code.

Utility Functions and Debugging

Final Code from the Video:


So, with this lesson out of the way, you now know how to build your own helpful utility functions. I hope you enjoyed today's video tutorial!