+ 2

Hiw is the js method parseInt() used

5th Jan 2020, 11:16 AM
Alfred Juma
Alfred Juma - avatar
2 odpowiedzi
+ 3
That is how you turn for example a string to int var k = "123" var p = parseInt(k) #now p is 123 (the number), not "123" (the word)
5th Jan 2020, 11:19 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 2
Got it, thanks
5th Jan 2020, 11:22 AM
Alfred Juma
Alfred Juma - avatar