Checking if an array is empty or not with Javascript

Checking if an array is empty or not with Javascript