Basic Javascript (106/111) | Use the parseInt Function | freeCodeCamp

Published: 14 December 2020
on channel: Stral Tech
499
5

Basic Javascript (106/111) | Use the parseInt Function | freeCodeCamp

Full playlist 👉    • Basic JavaScript (1/111) | Comment Yo...  

"The parseInt() function parses a string and returns an integer. Here's an example:

var a = parseInt("007");

The above function converts the string "007" to an integer 7. If the first character in the string can't be converted into a number, then it returns NaN.

Use parseInt() in the convertToInteger function so it converts the input string str into an integer, and returns it."

https://www.freecodecamp.org/learn/ja...


Watch video Basic Javascript (106/111) | Use the parseInt Function | freeCodeCamp online, duration hours minute second in high quality that is uploaded to the channel Stral Tech 14 December 2020. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 499 times and liked it 5 visitors.