#bangbangcon The NES controller has 8 input, buttons that are either pressed or not. That's 8 bit. Reading controller input is simply reading from this byte in memory!
Open your JavaScript console, and type:
[-1, "abc", 67] == "-1,abc,67"
And marvel.