Mega Code Archive
Global parseInt()
Syntax
parseInt(string, radix)
parseInt(string)
The parseInt() method is used to convert a string to an integer.
It can take string input with an optional radix input.
The radix input represents the base of the number in the string.