What does this line of code mean in JS ("var computers = parseInt(readLine(), 10)") | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What does this line of code mean in JS ("var computers = parseInt(readLine(), 10)")

8th Nov 2022, 10:54 AM
Usman Kamaldeen
Usman Kamaldeen - avatar
1 Answer
+ 3
get input for sololearn task and convert it to an i teger if base 10
8th Nov 2022, 10:56 AM
Lisa
Lisa - avatar