Enter a number from 0 to 65535. The page splits it into two bytes, then uses the JavaScript bitshift formula to rebuild the original number.
<< 8 means: move the bits 8 places to the left. That is the same as multiplying by 256.