diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/find-the-length-of-a-string.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/find-the-length-of-a-string.md index bb06cc1dff..e1ca35698b 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/find-the-length-of-a-string.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/find-the-length-of-a-string.md @@ -15,7 +15,7 @@ You can find the length of a `String` value by writing `.length` after the strin console.log("Alan Peter".length); ``` -The value `10` would be displayed in the console. +The value `10` would be displayed in the console. Note that the space character between "Alan" and "Peter" is also counted. For example, if we created a variable `const firstName = "Ada"`, we could find out how long the string `Ada` is by using the `firstName.length` property.