parseIntbeginnerparseInt('10', 2) // β 2 (binary 10 = decimal 2)
parseInt('1010', 2) // β 10The second argument is the radix β parseInt('10', 2) treats the string as binary.
parseInt('10', 2) parses '10' as binary, returning 2.
Challenge: Verify the binary parse.