Because when role is not a member of the HIDDEN_ROLES array, indexOf() will return -1.