JavaScript: Surprise Octal Numbers

In a recent problem I was working on, I was parsing the individual ones and zeroes representing the bits of a binary number, and assigning…