Number:

Base 16:

Base 36:

Base 16 is the well-known hexadecimal.
Base 36 uses numeric digits and lower-case letters.


Sample code


Reference:
n.toString()Number.parseInt()