check if array length is 0 javascript code example Example: empty array length javascript empty array check javascript