7.3.2. Длина или
/*The most useful string property is named length, and it tells us how
many characters are in a string.*/
let firstName = "Grace";
let lastName = "Hopper";
console.log(firstName, "has", firstName.length, "characters");
console.log(lastName, "has", lastName.length, "characters");
//Grace has 5 characters
//Hopper has 6 characters
Tough Tortoise