javascript numbers Flashcards

1
Q

you can convert a number to a string by calling the

A

.toString() method

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

to convert from a string to a number. you’d have to use the

A

Number.parseInt method(variable, radix(10) / parseInt(variable)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly