JavaScript

JavaScript: Checking If a Variable Is Defined

JavaScript There are quite a few times when writing JavaScript that we need to check if a variable has been set. Keep in mind that we want to check if a variable has been set, not necessarily what its value...

jQuery: Checking if an Item is an Array

JavaScript When writing JavaScript, I am usually using the jQuery library. I also seem to work with arrays a lot. Most of the time I only care if an item is an existing array or not. That's pretty simple to do with...