Check if JavaScript array is empty, null or undefined in 4 ways

JavaScript array is empty

It is very easy to check if JavaScript array or object is empty but might need additional checks if you want to also check for null or undefined. [su_note note_color=”#FFF9C4″]For checking the emptiness of an array we will use array.length property in most of our examples. It returns the number of elements present in the … Read more

Redirect URL in Javascript : How to tutorial with examples

Redirect URL in Javascript

Wondering or stuck on how to redirect URL in Javascript ? We have created a definitive guide for you. The best thing about programming, especially web programming is that the developers have a number of options to do a particular task. The web developers get a variety of programming and scripting languages with each language … Read more