Just realized the difference between parseInt() and Number(). parseInt() extracts and converts the numeric part of a string containing numbers into a numerical value.
Just realized the difference between parseInt() and Number(). parseInt() extracts and converts the numeric part of a string containing numbers into a numerical value.