:+1: for using `indexOf` instead of complex *bitwise* it's more verbose but it's cleaner.