Lesson

Find the Length of a String, freeCodeCamp Basic Javascript

Lesson Summary

In this challenge we learnn how to find the length of a string variable, or a string literal. This is done with the .length property. If you add .length at the end of your string variable or string literal, it will give you back how many characters long that string is.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required


Share: