Hah, never seen the bitwise `|=` idiom for defaults before, if it's not too common this might be clearer as `animationRow = animationRow || 0;`