q=MDN+parseInt to search for the parseInt function.
For other numeral systems, we should use the function parseInt (which we will see later in this chapter… parseInt and parseFloat.Numeric conversion using a plus + or Number() is strict.… That’s what parseInt and parseFloat are for.
They “read” a number from a string until they can’t.… (str, radix)
The parseInt() function has an optional second parameter.… It specifies the base of the numeral system, so parseInt can also parse strings of hex numbers, binary