
In JavaScript, we sometimes must convert strings to integers for various reasons. For that, we use the parseInt function. That will help us take a string and convert it to an integer that we can treat like a number.
This is one video in a long series in which I attempt to talk through these problems in a detailed fashion. With luck, those learning to code will find these videos as helpful tools for gaining a deeper understanding of the subject matter.
This is all part of the Free Code Camp curriculum. Enjoy!
Thank you for watching.