javascript index of empty array code example Example: empty array length javascript empty array check javascript