write a note to type casting in javascript
Answers
Answered by
0
Answer:
Gogle it my friend please
Answered by
1
Answer:
To convert a string to an integer parseInt() function is used in javascript. parseInt() function returns Nan( not a number) when the string doesn't contain number. If a string with a number is sent then only that number will be returned as the output. This function won't accept spaces.
Similar questions