Thanks, I thought I had to choose between the unary `+` operator and `parseInt` and I overlooked all the weird prefix-related behavior of the latter (which is a bit handy, but only if you're lazy and using 0xf00 as an argument).