What does this mean? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What does this mean?

parseInt(readLine(), 10) I am doing a code coach in js and I don’t know what this means. Can I get an explanation?

20th Oct 2021, 8:03 PM
Epic Man
Epic Man - avatar
3 Answers
+ 4
It reads input and converts it to integer
20th Oct 2021, 8:13 PM
Lisa
Lisa - avatar
+ 1
The parseInt() function parses a string and returns an integer.
21st Oct 2021, 5:02 AM
Arun Jamson
Arun Jamson - avatar
0
And input is provided from test
21st Oct 2021, 12:20 AM
PanicS
PanicS - avatar