Number.parseInt()

Term side of the Card
Topic: Number
Unit title: Number.parseInt()
Categories: Method
Explanation side of the Card

Explanation: The static method that parses a string and returns an integer. It can take a second argument specifying the base (radix) of the number in the string. This method is equivalent to the global `parseInt()` function.

Browser compatibility:
  • The chrome browser supports this feature starting from version 34
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 25
  • The safari browser supports this feature starting from version 9
Availability: