initialize empty js array of length code example Example: empty array length javascript empty array check javascript