Conversion of Number into a string and vice-versa
In this article, you learn how to convert a number into a string without any method and vice-versa
Conversion of Number into String
When we want to convert number into string we use toString() method but today I teach you a trick which is very simple and straightforward.
if you want to know the type of the number right now it’s type if string because we converted it into string by concatenating number to a empty quotes.
String into Number Conversion
If you want to convert string it means when number is inside quotes not text we can convert it explicitly by multiplying 1 to that string.