javascript array.length consider empty index? code example Example: empty array length javascript empty array check javascript