Consider the reactions
(A) $H _{2} O _{2}+2 HI \longrightarrow I _{2}+2 H _{2} O$
(B) $HOCl + H _{2} O _{2} \longrightarrow H _{3} O ^{+}+ Cl ^{-}+ O _{2}$
Which of the following statements is correct about $H _{2} O _{2}$ with reference to these reactions? Hydrogen peroxide is ____