This question is from an introductory chemistry course:
What is the oxidation state of $\ce{H}$ in $\ce{NaH, HCl}$$\ce{NaH}$, $\ce{HCl}$, and $\ce{LaNi5H}$?
I've looked in the textbook to no avail.
Google doesn't help me much either. It does tell me that $\ce{LaNi5H}$ is an "intermetallic" compound.
The best I've found is this:
Allen electronegativities also yield zero for the oxidation state of all such η2$\eta^2$ hydrogen atoms.
What is the justification? Preferably, is there an "intro to chem" level explanation for this?