📄️ Number()
The Number() global method converts its argument to a Number type or NaN.
📄️ parseInt()
The parseInt() global method parses and converts its string argument from its radix state to a decimal integer.
Learn about the global methods in JavaScript
The Number() global method converts its argument to a Number type or NaN.
The parseInt() global method parses and converts its string argument from its radix state to a decimal integer.