Energy is dissipated in the form of heat
It says "the Direction of current is irrelevant", not that the magnitude of the current is irrelevant.  

A resistor will heat up to the same extent whether the current flows from left to right, or right to left, or continually changes direction, as with AC.